terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Public Member Functions | |
void | Include (int coin, int howMuchIsItWorth) |
void | SetCurrencyCap (long cap) |
virtual long | CountCurrency (out bool overFlowing, Item[] inv, params int[] ignoreSlots) |
virtual long | CombineStacks (out bool overFlowing, params long[] coinCounts) |
virtual bool | TryPurchasing (long price, List< Item[]> inv, List< Point > slotCoins, List< Point > slotsEmpty, List< Point > slotEmptyBank, List< Point > slotEmptyBank2, List< Point > slotEmptyBank3, List< Point > slotEmptyBank4) |
virtual bool | Accepts (Item item) |
virtual void | DrawSavingsMoney (SpriteBatch sb, string text, float shopx, float shopy, long totalCoins, bool horizontal=false) |
virtual void | GetPriceText (string[] lines, ref int currentLine, long price) |
virtual void | GetItemExpectedPrice (Item item, out long calcForSelling, out long calcForBuying) |
CustomCurrencySystem () | |
Protected Member Functions | |
int | SortByHighest (Tuple< int, int > valueA, Tuple< int, int > valueB) |
List< Tuple< Point, Item > > | ItemCacheCreate (List< Item[]> inventories) |
void | ItemCacheRestore (List< Tuple< Point, Item > > cache, List< Item[]> inventories) |
Protected Attributes | |
Dictionary< int, int > | _valuePerUnit |
Properties | |
long | CurrencyCap [get, set] |
Private Attributes | |
long | _currencyCap |
Definition at line 11 of file CustomCurrencySystem.cs.