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

◆ Draw()

bool GUISettings.Draw ( )
inline

Definition at line 29 of file GUISettings.cs.

30 {
31 int num = 1;
32 bool visible = this.Visible;
33 if (num == 0)
34 {
35 }
36 bool gameMenu = Main.gameMenu;
37 if (!this.Visible)
38 {
39 return gameMenu;
40 }
41 bool flag;
42 while (!flag)
43 {
44 }
45 int num2 = 1;
46 bool visible2 = this.Visible;
47 this.Visible = num2 != 0;
48 if (visible2)
49 {
50 bool flag2 = Main.SaveSettings();
51 return Main.inFancyUI;
52 }
53 if ("Mobile.TooltipWiringKM" == null)
54 {
55 }
57 if ("Mobile.TooltipWiringKM" == null)
58 {
59 }
61 if ("Mobile.TooltipWiringKM" == null)
62 {
63 }
66 bool visible3 = this.Visible;
68 string textValue = Language.GetTextValue("Mobile.JourneySettingsMenu");
71 {
72 int num3 = 1;
73 this.Visible = num3 != 0;
76 }
79 bool visible4 = this.Visible;
81 string textValue2 = Language.GetTextValue("Mobile.Bestiary");
82 int num4 = 1;
85 {
86 this.Visible = num4 != 0;
87 Main.mouseLeft = false;
89 }
92 bool visible5 = this.Visible;
94 if (!visible5)
95 {
96 }
99 {
101 long num5 = 0L;
102 active4.Close(num5 != 0L);
103 Main.playerInventory = false;
104 int myPlayer = Main.myPlayer;
106 Main.mapFullscreen = true;
107 Main.resetMapFull = true;
108 }
111 bool visible6 = this.Visible;
113 if (!visible6)
114 {
115 }
118 {
120 long num6 = 0L;
121 active6.Close(num6 != 0L);
122 }
125 bool visible7 = this.Visible;
127 string textValue3 = Language.GetTextValue("Mobile.ToggleEmotes");
130 {
131 }
134 bool visible8 = this.Visible;
136 if (!visible8)
137 {
138 }
141 {
142 }
144 bool visible9 = this.Visible;
145 if (visible9)
146 {
147 bool flag4;
148 return flag4;
149 }
150 if (!visible9)
151 {
152 }
153 int num7 = 3;
158 bool visible10 = this.Visible;
160 string textValue4 = Language.GetTextValue("Mobile.JourneySettingsMenu");
163 {
164 this.Visible = num7 != 0;
167 }
172 bool visible11 = this.Visible;
174 string textValue5 = Language.GetTextValue("Mobile.Bestiary");
175 int num8 = 1;
178 {
179 this.Visible = num8 != 0;
180 Main.mouseLeft = false;
182 }
184 }
class f__AnonymousType0<< Count > j__TPar
List< GUIPageIconGrouping > LeftGroupings
void Close(bool shutdown=false)
static InterfaceProfile_Layout Active
static Settings_Layout Instance
TransactionButton_Layout JMSettingsButton
static string GetTextValue(string key)
Definition Language.cs:54
static int myPlayer
Definition Main.cs:2337
static bool inFancyUI
Definition Main.cs:825
static int GameMode
Definition Main.cs:4141
static bool gameMenu
Definition Main.cs:2673
static bool SaveSettings()
Definition Main.cs:5792
static bool TouchInputKeyboardLocked

References InterfaceStyles_Layout.Active, InterfaceProfile_Layout.AnyOpen(), InterfaceProfile_Layout.Close(), Terraria.Main.gameMenu, Terraria.Main.GameMode, Terraria.Localization.Language.GetTextValue(), Terraria.Main.inFancyUI, Settings_Layout.Instance, j__TPar, Settings_Layout.JMSettingsButton, System.L, InterfaceProfile_Layout.LeftGroupings, Terraria.Main.myPlayer, Terraria.Main.SaveSettings(), XNAUnityRunner.TouchInputKeyboardLocked, and Visible.