terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
|
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 (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, private set] |
bool | Blocked [get] |
Private Member Functions | |
void | DrawToggleButton (SpriteBatch spritebatch, Vector2 location) |
void | RefreshAvailableInfiniteItemsList () |
Private Attributes | |
bool< Enabled > | k__BackingField |
bool | _initialized |
Asset< Texture2D > | _buttonTexture |
Asset< Texture2D > | _buttonBorderTexture |
Item[] | _itemSlotsForUI |
List< int > | _itemIdsAvailableInfinitely |
UserInterface | _powersUI |
UICreativePowersMenu | _uiState |
Definition at line 17 of file CreativeUI.cs.