Terraria v1.4.4.9
Terraria source code documentation
|
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) |
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 = new Dictionary<int, int>() |
Properties | |
long | CurrencyCap [get] |
Private Attributes | |
long | _currencyCap = 999999999L |
Definition at line 8 of file CustomCurrencySystem.cs.