terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
GUIControllerHardwareProfileEntry.cs
Go to the documentation of this file.
1using System;
2using Controller;
5using InControl;
9using Terraria;
10using Terraria.Audio;
12using UnityEngine;
13
14[global::Cpp2ILInjected.Token(Token = "0x20000B1")]
16{
17 [global::Cpp2ILInjected.Token(Token = "0x6000430")]
18 [global::Cpp2ILInjected.Address(RVA = "0xA866C4", Offset = "0xA866C4", Length = "0x1AC")]
19 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfile), Member = "Open", MemberParameters = new object[] { typeof(ControllerDevice) }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingEntryBase), Member = ".ctor", MemberParameters = new object[] { typeof(GUISettingID) }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerHardwareProfileEntry), Member = "GetMappingType", ReturnType = typeof(InputControlType))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
29
30 [global::Cpp2ILInjected.Token(Token = "0x6000431")]
31 [global::Cpp2ILInjected.Address(RVA = "0xA85230", Offset = "0xA85230", Length = "0x68")]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfile), Member = "Draw", ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionManager), Member = "UnregisterPickingInterceptor", MemberParameters = new object[] { typeof(GUIInputRegionExclusive) }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
36 public void CloseOptions()
37 {
38 throw null;
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x6000432")]
42 [global::Cpp2ILInjected.Address(RVA = "0xA86964", Offset = "0xA86964", Length = "0x298")]
43 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfileEntry), Member = "RemapToAnalogue", MemberParameters = new object[]
45 {
46 typeof(int),
47 typeof(float),
48 typeof(float)
49 }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfileEntry), Member = "RemapToButton", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
52 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
53 private string GetMappingName()
54 {
55 throw null;
56 }
57
58 [global::Cpp2ILInjected.Token(Token = "0x6000433")]
59 [global::Cpp2ILInjected.Address(RVA = "0xA86940", Offset = "0xA86940", Length = "0x24")]
60 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfileEntry), Member = ".ctor", MemberParameters = new object[]
62 {
65 }, ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfileEntry), Member = "RemapToAnalogue", MemberParameters = new object[]
67 {
68 typeof(int),
69 typeof(float),
70 typeof(float)
71 }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfileEntry), Member = "RemapToButton", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
75 {
76 throw null;
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x1700007E")]
80 public bool HasMapping
81 {
82 [global::Cpp2ILInjected.Token(Token = "0x6000434")]
83 [global::Cpp2ILInjected.Address(RVA = "0xA86308", Offset = "0xA86308", Length = "0x10")]
84 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
86 get
87 {
88 throw null;
89 }
90 }
91
92 [global::Cpp2ILInjected.Token(Token = "0x6000435")]
93 [global::Cpp2ILInjected.Address(RVA = "0xA86BFC", Offset = "0xA86BFC", Length = "0x28")]
94 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
95 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
96 public override void DrawOverlay()
97 {
98 throw null;
99 }
100
101 [global::Cpp2ILInjected.Token(Token = "0x6000436")]
102 [global::Cpp2ILInjected.Address(RVA = "0xA86C24", Offset = "0xA86C24", Length = "0x8")]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
104 public void RemoveBinding()
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x6000437")]
110 [global::Cpp2ILInjected.Address(RVA = "0xA86C2C", Offset = "0xA86C2C", Length = "0x128")]
111 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfileEntry), Member = "Draw", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InputControlMapping), Member = ".ctor", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerHardwareProfileEntry), Member = "GetMappingName", ReturnType = typeof(string))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerHardwareProfileEntry), Member = "GetMappingType", ReturnType = typeof(InputControlType))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InputControlSource), Member = ".ctor", MemberParameters = new object[]
118 {
120 typeof(int)
121 }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
123 private void RemapToAnalogue(int index, float restingValue, float usedValue)
124 {
125 throw null;
126 }
127
128 [global::Cpp2ILInjected.Token(Token = "0x6000438")]
129 [global::Cpp2ILInjected.Address(RVA = "0xA86D54", Offset = "0xA86D54", Length = "0xAC")]
130 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfileEntry), Member = "Draw", ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InputControlMapping), Member = ".ctor", ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerHardwareProfileEntry), Member = "GetMappingName", ReturnType = typeof(string))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerHardwareProfileEntry), Member = "GetMappingType", ReturnType = typeof(InputControlType))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InputControlSource), Member = ".ctor", MemberParameters = new object[]
137 {
139 typeof(int)
140 }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
142 private void RemapToButton(int index)
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x6000439")]
148 [global::Cpp2ILInjected.Address(RVA = "0xA86E00", Offset = "0xA86E00", Length = "0x398")]
149 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfileEntry), Member = "Draw", ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerInputButton), Member = "GetButtonTexureInformation", MemberParameters = new object[]
153 {
156 typeof(int)
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerInputButton), Member = "GetAxisTexureInformation", MemberParameters = new object[]
159 {
162 typeof(int)
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 26)]
169
170 [global::Cpp2ILInjected.Token(Token = "0x600043A")]
171 [global::Cpp2ILInjected.Address(RVA = "0xA87198", Offset = "0xA87198", Length = "0x7F8")]
172 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIPanel), Member = "Draw", MemberParameters = new object[]
175 {
177 typeof(bool),
181 }, ReturnType = typeof(void))]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUITransactionButton), Member = "Draw", MemberParameters = new object[]
183 {
185 typeof(Item),
186 typeof(string),
187 typeof(bool),
188 typeof(ref float),
189 typeof(bool),
190 typeof(bool),
191 typeof(bool),
192 typeof(bool)
193 }, ReturnType = typeof(GUITransactionButton.InputState))]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerHardwareProfileEntry), Member = "GetTexure", MemberParameters = new object[] { typeof(ref Rectangle) }, ReturnType = typeof(Microsoft.Xna.Framework.Graphics.Texture2D))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlAnchor), Member = "get__gridItemRegion", ReturnType = typeof(Rectangle))]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerHardwareProfile), Member = "RegisterOverlay", MemberParameters = new object[]
197 {
200 }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUITransactionButton), Member = "Draw", MemberParameters = new object[]
202 {
206 typeof(string),
207 typeof(bool),
208 typeof(ref float),
210 typeof(bool),
211 typeof(bool),
212 typeof(bool),
213 typeof(bool)
214 }, ReturnType = typeof(GUITransactionButton.InputState))]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUITransactionButton), Member = "DrawWithBanner", MemberParameters = new object[]
216 {
220 typeof(Item),
221 typeof(string),
222 typeof(bool),
223 typeof(ref float),
224 typeof(bool),
225 typeof(bool),
226 typeof(bool),
227 typeof(bool),
228 typeof(bool),
229 typeof(bool)
230 }, ReturnType = typeof(GUITransactionButton.InputState))]
231 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
232 {
233 typeof(int),
234 typeof(int),
235 typeof(int),
236 typeof(int),
237 typeof(float),
238 typeof(float)
239 }, ReturnType = typeof(SoundEffectInstance))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionManager), Member = "UnregisterPickingInterceptor", MemberParameters = new object[] { typeof(GUIInputRegionExclusive) }, ReturnType = typeof(void))]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(LocalizedText))]
242 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIString), Member = "Draw", MemberParameters = new object[]
243 {
245 typeof(string)
246 }, ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyboardInput), Member = "GetKeyUp", MemberParameters = new object[] { typeof(KeyCode) }, ReturnType = typeof(bool))]
248 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappings), Member = "DisableEscapeKeyUsage", ReturnType = typeof(void))]
249 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerHardwareProfileEntry), Member = "RemapToButton", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
250 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerHardwareProfileEntry), Member = "RemapToAnalogue", MemberParameters = new object[]
251 {
252 typeof(int),
253 typeof(float),
254 typeof(float)
255 }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionExclusive.IsOverHandler), Member = ".ctor", MemberParameters = new object[]
257 {
258 typeof(object),
260 }, ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionManager), Member = "RegisterPickingInterceptor", MemberParameters = new object[] { typeof(GUIInputRegionExclusive.IsOverHandler) }, ReturnType = typeof(GUIInputRegionExclusive))]
262 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 31)]
263 public override void Draw()
264 {
265 throw null;
266 }
267
268 [global::Cpp2ILInjected.Token(Token = "0x600043B")]
269 [global::Cpp2ILInjected.Address(RVA = "0xA87990", Offset = "0xA87990", Length = "0x50")]
270 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
271 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
272 public override float GetElementHeight()
273 {
274 throw null;
275 }
276
277 [global::Cpp2ILInjected.Token(Token = "0x600043C")]
278 [global::Cpp2ILInjected.Address(RVA = "0xA879E0", Offset = "0xA879E0", Length = "0x108")]
279 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
280 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
281 {
282 typeof(int),
283 typeof(int),
284 typeof(int),
285 typeof(int),
286 typeof(float),
287 typeof(float)
288 }, ReturnType = typeof(SoundEffectInstance))]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingOverlay), Member = "DeactivateOverlay", ReturnType = typeof(void))]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionManager), Member = "UnregisterPickingInterceptor", MemberParameters = new object[] { typeof(GUIInputRegionExclusive) }, ReturnType = typeof(void))]
291 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
293 {
294 throw null;
295 }
296
297 // Note: this type is marked as 'beforefieldinit'.
298 [global::Cpp2ILInjected.Token(Token = "0x600043D")]
299 [global::Cpp2ILInjected.Address(RVA = "0xA87AE8", Offset = "0xA87AE8", Length = "0x78")]
300 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
301 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
303 {
304 throw null;
305 }
306
307 [global::Cpp2ILInjected.Token(Token = "0x4000411")]
308 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
310
311 [global::Cpp2ILInjected.Token(Token = "0x4000412")]
312 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
314
315 [global::Cpp2ILInjected.Token(Token = "0x4000413")]
316 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
318
319 [global::Cpp2ILInjected.Token(Token = "0x4000414")]
320 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
321 private float buttonScale;
322
323 [global::Cpp2ILInjected.Token(Token = "0x4000415")]
324 [global::Cpp2ILInjected.FieldOffset(Offset = "0x44")]
325 private float scale;
326
327 [global::Cpp2ILInjected.Token(Token = "0x4000416")]
328 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
329 private bool drawingOverlay;
330
331 [global::Cpp2ILInjected.Token(Token = "0x4000417")]
332 private static int LastButtonMapped;
333
334 [global::Cpp2ILInjected.Token(Token = "0x4000418")]
335 private const float inputTollerance = 0.1f;
336
337 [global::Cpp2ILInjected.Token(Token = "0x4000419")]
338 private static float[] InitialInputRange;
339
340 [global::Cpp2ILInjected.Token(Token = "0x400041A")]
341 [global::Cpp2ILInjected.FieldOffset(Offset = "0x49")]
342 public bool displayOptions;
343
344 [global::Cpp2ILInjected.Token(Token = "0x400041B")]
345 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
347
348 [global::Cpp2ILInjected.Token(Token = "0x400041C")]
349 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
351
352 [global::Cpp2ILInjected.Token(Token = "0x400041D")]
353 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5C")]
354 public new int SortOrder;
355
356 [global::Cpp2ILInjected.Token(Token = "0x20000B2")]
357 public enum BindingId
358 {
359 [global::Cpp2ILInjected.Token(Token = "0x400041F")]
361 [global::Cpp2ILInjected.Token(Token = "0x4000420")]
363 [global::Cpp2ILInjected.Token(Token = "0x4000421")]
365 [global::Cpp2ILInjected.Token(Token = "0x4000422")]
367 [global::Cpp2ILInjected.Token(Token = "0x4000423")]
369 [global::Cpp2ILInjected.Token(Token = "0x4000424")]
371 [global::Cpp2ILInjected.Token(Token = "0x4000425")]
373 [global::Cpp2ILInjected.Token(Token = "0x4000426")]
375 [global::Cpp2ILInjected.Token(Token = "0x4000427")]
376 DPadUp,
377 [global::Cpp2ILInjected.Token(Token = "0x4000428")]
378 DPadDown,
379 [global::Cpp2ILInjected.Token(Token = "0x4000429")]
380 DPadLeft,
381 [global::Cpp2ILInjected.Token(Token = "0x400042A")]
382 DPadRight,
383 [global::Cpp2ILInjected.Token(Token = "0x400042B")]
384 Action1,
385 [global::Cpp2ILInjected.Token(Token = "0x400042C")]
386 Action2,
387 [global::Cpp2ILInjected.Token(Token = "0x400042D")]
388 Action3,
389 [global::Cpp2ILInjected.Token(Token = "0x400042E")]
390 Action4,
391 [global::Cpp2ILInjected.Token(Token = "0x400042F")]
392 Options,
393 [global::Cpp2ILInjected.Token(Token = "0x4000430")]
394 Switch,
395 [global::Cpp2ILInjected.Token(Token = "0x4000431")]
397 [global::Cpp2ILInjected.Token(Token = "0x4000432")]
399 [global::Cpp2ILInjected.Token(Token = "0x4000433")]
401 [global::Cpp2ILInjected.Token(Token = "0x4000434")]
403 [global::Cpp2ILInjected.Token(Token = "0x4000435")]
405 [global::Cpp2ILInjected.Token(Token = "0x4000436")]
407 [global::Cpp2ILInjected.Token(Token = "0x4000437")]
408 Count
409 }
410}
class f__AnonymousType0<< Count > j__TPar
GUISettingID
new readonly GUIControllerHardwareProfileEntry.BindingId _id
Microsoft.Xna.Framework.Graphics.Texture2D GetTexure(out Rectangle buttonRegion)
new KeyboardMappingsCategories_Layout.Category Category
bool IsOverOptions(Microsoft.Xna.Framework.Vector2 cursorPosition)
GUIControllerHardwareProfileEntry(GUIControllerHardwareProfileEntry.BindingId id, ControllerDevice device)
void RemapToAnalogue(int index, float restingValue, float usedValue)
delegate bool IsOverHandler(Vector2 cursorPosition)