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
Loading...
Searching...
No Matches
Terraria.GameContent.UI.CustomCurrencySingleCoin Class Reference
+ Inheritance diagram for Terraria.GameContent.UI.CustomCurrencySingleCoin:
+ Collaboration diagram for Terraria.GameContent.UI.CustomCurrencySingleCoin:

Public Member Functions

 CustomCurrencySingleCoin (int coinItemID, long currencyCap)
 
override 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)
 
override void DrawSavingsMoney (SpriteBatch sb, string text, float shopx, float shopy, long totalCoins, bool horizontal=false)
 
override void GetPriceText (string[] lines, ref int currentLine, long price)
 
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 Accepts (Item item)
 
virtual void GetItemExpectedPrice (Item item, out long calcForSelling, out long calcForBuying)
 

Public Attributes

float CurrencyDrawScale
 
string CurrencyTextKey
 
Color CurrencyTextColor
 

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
 

Detailed Description

Definition at line 14 of file CustomCurrencySingleCoin.cs.


The documentation for this class was generated from the following file: