56 return Main.LocalPlayer.chest != -1;
148 Main.LocalPlayer.creativeInterface =
false;
151 Main.LocalPlayer.creativeInterface =
true;
152 Main.LocalPlayer.mouseInterface =
true;
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
static byte Min(byte val1, byte val2)
static void PlaySound(int type, Vector2 position, int style=1)
static CreativeItemSacrificesCatalog Instance
void Draw(SpriteBatch spriteBatch)
UICreativePowersMenu _uiState
void DrawToggleButton(SpriteBatch spritebatch, Vector2 location)
Asset< Texture2D > _buttonBorderTexture
ItemSacrificeResult SacrificeItem(out int amountWeSacrificed)
void SwapItem(ref Item item)
bool GetSacrificeNumbers(out int itemIdChecked, out int amountWeHave, out int amountNeededTotal)
void SacrificeItemInSacrificeSlot()
Item GetItemByIndex(int itemSlotContext)
void Update(GameTime gameTime)
bool IsShowingResearchMenu()
void RefreshAvailableInfiniteItemsList()
void StopPlayingSacrificeAnimations()
int GamepadPointIdForInfiniteItemSearchHack
bool ShouldDrawSacrificeArea()
UIElement ProvideItemSlotElement(int itemSlotContext)
void SetItembyIndex(Item item, int itemSlotContext)
Asset< Texture2D > _buttonTexture
List< int > _itemIdsAvailableInfinitely
bool GamepadMoveToSearchButtonHack
const int ItemSlotIndexes_SacrificeItem
const int ItemSlotIndexes_Count
static NetPacket SerializeSacrificeRequest(int itemId, int amount)
static void EscapeElements()
void TurnToAir(bool fullReset=false)
static string GetTextValue(string key)
static CreativeUnlocksTracker LocalPlayerCreativeTracker
static GameTime gameTimeCache
static bool mouseLeftRelease
static Vector2 MouseScreen
static float inventoryScale
static bool playerInventory
static IAssetRepository Assets
static Player LocalPlayer
static bool ServerSideCharacter
static readonly NetManager Instance
static void FindRecipes(bool canDelayCheck=false)
static void SetPosition(int ID, Vector2 Position)
void Update(GameTime time)
void SetState(UIState state)
void Draw(SpriteBatch spriteBatch, GameTime time)
static Rectangle CenteredRectangle(Vector2 center, Vector2 size)
static GetItemSettings InventoryUIToInventorySettings