Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
Terraria.GameContent.UI.CustomCurrencyManager Class Reference

Static Public Member Functions

static void Initialize ()
 
static int RegisterCurrency (CustomCurrencySystem collection)
 
static void DrawSavings (SpriteBatch sb, int currencyIndex, float shopx, float shopy, bool horizontal=false)
 
static void GetPriceText (int currencyIndex, string[] lines, ref int currentLine, long price)
 
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 Private Attributes

static int _nextCurrencyIndex
 
static Dictionary< int, CustomCurrencySystem_currencies = new Dictionary<int, CustomCurrencySystem>()
 

Detailed Description

Definition at line 8 of file CustomCurrencyManager.cs.


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