terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ToggleMenu()

void Terraria.GameContent.Creative.CreativeUI.ToggleMenu ( )
inline

Definition at line 243 of file CreativeUI.cs.

244 {
245 bool flag = this.<Enabled>k__BackingField;
247 this.<Enabled>k__BackingField = flag;
248 powersUI.EscapeElements();
250 if (this.<Enabled>k__BackingField)
251 {
252 Recipe.FindRecipes(false);
253 Player localPlayer = Main.LocalPlayer;
255 return;
256 }
258 if (itemSlotsForUI.position == null)
259 {
260 }
261 Player localPlayer2 = Main.LocalPlayer;
262 int myPlayer = Main.myPlayer;
263 Vector2 position = this._itemSlotsForUI.position;
264 Item item;
265 if (item != null && item == null)
266 {
267 throw new ArrayTypeMismatchException();
268 }
271 if (uiState != null)
272 {
274 return;
275 }
276 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460

References Terraria.GameContent.Creative.CreativeUI._itemSlotsForUI, Terraria.GameContent.Creative.CreativeUI._powersUI, Terraria.GameContent.Creative.CreativeUI._uiState, Terraria.GameContent.Creative.CreativeUI.Enabled, Terraria.GameContent.UI.Elements.UISliderBase.EscapeElements(), Terraria.Recipe.FindRecipes(), System.item, j__TPar, Terraria.GameContent.Creative.CreativeUI.k__BackingField, Terraria.Main.LocalPlayer, Terraria.Main.myPlayer, Terraria.Entity.position, Terraria.GameContent.Creative.CreativeUI.RefreshAvailableInfiniteItemsList(), and Terraria.GameContent.UI.States.UICreativePowersMenu.StopPlayingResearchAnimations().

Referenced by Terraria.GameContent.Creative.CreativeUI.DrawToggleButton().