terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Terraria.GameContent.UI.CustomCurrencySingleCoin Class Reference
+ Inheritance 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, 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 = (float)52429
 
string CurrencyTextKey = "Currency.DefenderMedals"
 
Color CurrencyTextColor = "Currency.DefenderMedals"
 

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]
 

Private Attributes

long _currencyCap = 51711L
 

Detailed Description

Definition at line 11 of file CustomCurrencySingleCoin.cs.


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