tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.UI.CustomCurrencyManager Class Reference

Static Public Member Functions

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