tModLoader v2024.05
A mod to make and play Terraria mods
ItemTrader Class Reference

Classes

class  TradeOption
 

Public Member Functions

void AddOption_CyclicLoop (params int[] typesInOrder)
 
void AddOption_FromAny (int givingItemType, params int[] takingItemTypes)
 
void AddOption_Interchangable (int itemType1, int itemType2)
 
void AddOption_OneWay (int takingItemType, int takingItemStack, int givingItemType, int givingItemStack)
 
bool TryGetTradeOption (Item item, out TradeOption option)
 

Static Public Member Functions

static ItemTrader CreateChlorophyteExtractinator ()
 

Static Public Attributes

static ItemTrader ChlorophyteExtractinator = CreateChlorophyteExtractinator()