|
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
|
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< Enabled > | k__BackingField |
| bool | _initialized |
| Asset< Texture2D > | _buttonTexture |
| Asset< Texture2D > | _buttonBorderTexture |
| Item[] | _itemSlotsForUI |
| List< int > | _itemIdsAvailableInfinitely |
| UserInterface | _powersUI |
| UICreativePowersMenu | _uiState |
Definition at line 23 of file CreativeUI.cs.