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
GUISettings.cs
Go to the documentation of this file.
1using System;
6using Terraria;
8
9// Token: 0x02000170 RID: 368
10public class GUISettings
11{
12 // Token: 0x06000A71 RID: 2673 RVA: 0x00032514 File Offset: 0x00030714
13 public static void LoadContent(ContentManager content)
14 {
15 Texture2D texture2D = content.Load<Texture2D>("Images/UI/PageIcons/Settings");
16 Texture2D texture2D2 = content.Load<Texture2D>("Images/UI/PageIcons/SettingsSelected");
17 }
18
19 // Token: 0x06000A72 RID: 2674 RVA: 0x0003253C File Offset: 0x0003073C
20 public void ShutdownUI()
21 {
22 if (this.Visible)
23 {
24 return;
25 }
26 }
27
28 // Token: 0x06000A73 RID: 2675 RVA: 0x00032558 File Offset: 0x00030758
29 public bool Draw()
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 }
185
186 // Token: 0x06000A74 RID: 2676 RVA: 0x000329AC File Offset: 0x00030BAC
187 public GUISettings()
188 {
189 }
190
191 // Token: 0x04000A58 RID: 2648
192 public bool Visible;
193
194 // Token: 0x04000A59 RID: 2649
195 public bool KeySwitch;
196
197 // Token: 0x04000A5A RID: 2650
198 public bool KeyRelease = true;
199
200 // Token: 0x04000A5B RID: 2651
202
203 // Token: 0x04000A5C RID: 2652
205
206 // Token: 0x04000A5D RID: 2653
207 private float settingsButtonScale = (float)16256;
208}
class f__AnonymousType0<< Count > j__TPar
static Texture2D _settingsTexture
static void LoadContent(ContentManager content)
void ShutdownUI()
static Texture2D _settingsSelectedTexture
bool Draw()
float settingsButtonScale
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