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.CustomCurrencyManager Class Reference

Public Member Functions

 CustomCurrencyManager ()
 

Static Public Member Functions

static void Initialize ()
 
static int RegisterCurrency (CustomCurrencySystem collection)
 
static long GetCurrencyCount (int currencyIndex)
 
static void DrawSavings (SpriteBatch sb, int currencyIndex, float shopx, float shopy, bool horizontal=false)
 
static void GetPriceText (int currencyIndex, string[] lines, int currentLine, long price)
 
static bool CanAffordItem (Player player, long price, int currencyIndex)
 
static bool BuyItem (Player player, long price, int currencyIndex)
 
static bool IsCustomCurrency (Item item)
 
static void GetPrices (Item item, [Out] long calcForSelling, [Out] long calcForBuying)
 

Static Private Member Functions

static void FindEmptySlots (List< Item[]> inventories, Dictionary< int, List< int > > slotsToIgnore, List< Point > emptySlots, int currentInventoryIndex)
 
static CustomCurrencyManager ()
 

Static Private Attributes

static int _nextCurrencyIndex
 
static Dictionary< int, CustomCurrencySystem_currencies
 

Detailed Description

Definition at line 11 of file CustomCurrencyManager.cs.


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