tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Creative.CreativeUI Class Reference

Public Types

enum class  ItemSacrificeResult { CannotSacrifice , SacrificedButNotDone , SacrificedAndDone }
 

Public Member Functions

void CloseMenu ()
 
void Draw (SpriteBatch spriteBatch)
 
Item GetItemByIndex (int itemSlotContext)
 
bool GetSacrificeNumbers (out int itemIdChecked, out int amountWeHave, out int amountNeededTotal)
 
void Initialize ()
 
bool IsShowingResearchMenu ()
 
UIElement ProvideItemSlotElement (int itemSlotContext)
 
void Reset ()
 
ItemSacrificeResult SacrificeItem (out int amountWeSacrificed)
 
void SetItembyIndex (Item item, int itemSlotContext)
 
bool ShouldDrawSacrificeArea ()
 
void SwapItem (ref Item item)
 
void ToggleMenu ()
 
void Update (GameTime gameTime)
 

Public Attributes

bool GamepadMoveToSearchButtonHack
 
int GamepadPointIdForInfiniteItemSearchHack = -1
 

Static Public Attributes

const int ItemSlotIndexes_Count = 1
 
const int ItemSlotIndexes_SacrificeItem = 0
 

Properties

bool Blocked [get]
 
bool Enabled [get]