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
GUIControllerHardwareProfile.cs
Go to the documentation of this file.
1using System;
3using Controller;
6using Terraria;
8using UnityEngine;
9
10// Token: 0x020000AF RID: 175
12{
13 // Token: 0x0600041D RID: 1053 RVA: 0x0000D4C0 File Offset: 0x0000B6C0
15 {
16 int num = 1;
17 if (num == 0)
18 {
19 }
20 num.m_value = entry;
21 if (entry != null)
22 {
23 return;
24 }
25 }
26
27 // Token: 0x0600041E RID: 1054 RVA: 0x0000D4E0 File Offset: 0x0000B6E0
29 {
30 if (!true)
31 {
32 }
33 }
34
35 // Token: 0x0600041F RID: 1055 RVA: 0x0000D4F0 File Offset: 0x0000B6F0
36 public static void Draw()
37 {
38 }
39
40 // Token: 0x06000420 RID: 1056 RVA: 0x0000D574 File Offset: 0x0000B774
41 public static void Close()
42 {
43 if (!true)
44 {
45 }
46 }
47
48 // Token: 0x06000421 RID: 1057 RVA: 0x0000D584 File Offset: 0x0000B784
49 public static void UpdateAndSaveCurrentProfile()
50 {
51 int num = 1;
52 if (num == 0)
53 {
54 }
55 while (num == 0)
56 {
57 }
58 }
59
60 // Token: 0x06000422 RID: 1058 RVA: 0x0000D5D0 File Offset: 0x0000B7D0
61 private static void DrawMainButtons()
62 {
63 bool mouseLeft = Main.mouseLeft;
64 bool mouseLeftRelease = Main.mouseLeftRelease;
67 {
68 if (!true)
69 {
70 }
71 if (true)
72 {
73 goto IL_0042;
74 }
75 if (!true)
76 {
77 }
78 bool keyUp = KeyboardInput.GetKeyUp(KeyCode.Escape);
79 }
80 if (!true)
81 {
82 }
83 bool keyUp2 = KeyboardInput.GetKeyUp(KeyCode.Escape);
87 IL_0042:
90 {
91 return;
92 }
93 if (!true)
94 {
95 }
97 if (!true)
98 {
99 }
101 }
102
103 // Token: 0x06000423 RID: 1059 RVA: 0x0000D638 File Offset: 0x0000B838
104 private static void DrawTitle()
105 {
106 string textValue = Language.GetTextValue("GameUI.HardwareProfileMenu");
107 }
108
109 // Token: 0x06000424 RID: 1060 RVA: 0x0000D660 File Offset: 0x0000B860
110 private static void DrawBacking()
111 {
112 }
113
114 // Token: 0x06000425 RID: 1061 RVA: 0x0000D670 File Offset: 0x0000B870
115 private static void DrawCategoryOptions()
116 {
117 }
118
119 // Token: 0x06000426 RID: 1062 RVA: 0x000021DB File Offset: 0x000003DB
120 private static float SettingScale(int index)
121 {
122 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
123 }
124
125 // Token: 0x06000427 RID: 1063 RVA: 0x0000D688 File Offset: 0x0000B888
126 private static void SettingOver(int index)
127 {
128 }
129
130 // Token: 0x06000428 RID: 1064 RVA: 0x0000D698 File Offset: 0x0000B898
131 private static void SettingDraw(ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
132 {
133 }
134
135 // Token: 0x06000429 RID: 1065 RVA: 0x000021DB File Offset: 0x000003DB
137 {
138 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
139 }
140
141 // Token: 0x0600042A RID: 1066 RVA: 0x0000D6A8 File Offset: 0x0000B8A8
142 public static void Open(ControllerDevice device)
143 {
144 int num = 1;
145 if (num == 0)
146 {
147 }
148 if (device != null)
149 {
151 if (num == 0)
152 {
153 }
154 return;
155 }
156 }
157
158 // Token: 0x0600042B RID: 1067 RVA: 0x0000D6CC File Offset: 0x0000B8CC
160 {
161 }
162
163 // Token: 0x0600042C RID: 1068 RVA: 0x0000D6E0 File Offset: 0x0000B8E0
164 // Note: this type is marked as 'beforefieldinit'.
166 {
167 }
168
169 // Token: 0x040003FE RID: 1022
171
172 // Token: 0x040003FF RID: 1023
173 private static Rectangle overlayRegion;
174
175 // Token: 0x04000400 RID: 1024
176 public static bool Enabled;
177
178 // Token: 0x04000401 RID: 1025
179 private static bool performingBinding;
180
181 // Token: 0x04000402 RID: 1026
182 private static float TimeSinceItemChange;
183
184 // Token: 0x04000403 RID: 1027
185 private static float GameplayButtonScale;
186
187 // Token: 0x04000404 RID: 1028
188 private static float UIButtonScale;
189
190 // Token: 0x04000405 RID: 1029
191 private static float SaveAndCloseButtonScale;
192
193 // Token: 0x04000406 RID: 1030
194 private static float ResetSettingsButtonScale;
195
196 // Token: 0x04000407 RID: 1031
197 private static float titleScale;
198
199 // Token: 0x04000408 RID: 1032
200 public static float ScrollOffset;
201
202 // Token: 0x04000409 RID: 1033
203 private static float ScrollMomentum;
204
205 // Token: 0x0400040A RID: 1034
206 private static int ScrollDragging;
207
208 // Token: 0x0400040B RID: 1035
210
211 // Token: 0x0400040C RID: 1036
213
214 // Token: 0x0400040D RID: 1037
215 private static bool hasFocus;
216
217 // Token: 0x0400040E RID: 1038
219
220 // Token: 0x0400040F RID: 1039
222
223 // Token: 0x04000410 RID: 1040
225}
class f__AnonymousType0<< Count > j__TPar
ControllerDevice.ControlScheme Controls
static Microsoft.Xna.Framework.Vector2 SettingSize(int index)
static GUIControllerMappingEntryBase overlayEntry
static List< GUIControllerMappingEntryBase > _categorySettings
static ControllerDevice.ControlScheme ActiveScheme
static void SetControllerFace(ControllerDevice.ControlScheme scheme)
static void Open(ControllerDevice device)
static GUIInputRegionExclusive _categoriesBlocker
static void RegisterOverlay(GUIControllerMappingEntryBase entry, Rectangle region)
static void SettingDraw(ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
static Microsoft.Xna.Framework.Vector2 DragOffset
static bool GetKeyUp(KeyCode keycode)
static string GetTextValue(string key)
Definition Language.cs:54
static bool mouseLeftRelease
Definition Main.cs:2029
static bool mouseLeft
Definition Main.cs:671