terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.GameContent.Creative.CreativeUI Class Reference
+ Collaboration diagram for Terraria.GameContent.Creative.CreativeUI:

Public Types

enum  ItemSacrificeResult { CannotSacrifice , SacrificedButNotDone , SacrificedAndDone }
 

Public Member Functions

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

Public Attributes

int GamepadPointIdForInfiniteItemSearchHack
 
bool GamepadMoveToSearchButtonHack
 

Static Public Attributes

const int ItemSlotIndexes_SacrificeItem = 0
 
const int ItemSlotIndexes_Count = 1
 

Properties

bool Enabled [get, set, private set]
 
bool Blocked [get, set]
 

Private Member Functions

void DrawToggleButton (SpriteBatch spritebatch, Vector2 location)
 
void RefreshAvailableInfiniteItemsList ()
 

Private Attributes

bool< Enabledk__BackingField
 
bool _initialized
 
Asset< Texture2D_buttonTexture
 
Asset< Texture2D_buttonBorderTexture
 
Item[] _itemSlotsForUI
 
List< int > _itemIdsAvailableInfinitely
 
UserInterface _powersUI
 
UICreativePowersMenu _uiState
 

Detailed Description

Definition at line 23 of file CreativeUI.cs.


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