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
GUIKeyboardMappingEntry.cs
Go to the documentation of this file.
1using System;
3using Controller;
9using Terraria;
10using Terraria.Audio;
12using UnityEngine;
13
14[global::Cpp2ILInjected.Token(Token = "0x2000189")]
16{
17 [global::Cpp2ILInjected.Token(Token = "0x6000B12")]
18 [global::Cpp2ILInjected.Address(RVA = "0x9A5F84", Offset = "0x9A5F84", Length = "0x15C")]
19 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappings), Member = "SetCategory", MemberParameters = new object[] { typeof(KeyboardMappingsCategories_Layout.Category) }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyboardMappingsCategories_Layout), Member = "GetCategorySetup", MemberParameters = new object[]
24 {
25 typeof(string),
27 typeof(ref int),
28 typeof(int)
29 }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
31 {
32 typeof(string),
33 typeof(string)
34 }, ReturnType = typeof(string))]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
36 {
37 typeof(string),
38 typeof(string),
39 typeof(string)
40 }, ReturnType = typeof(string))]
41 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
43 {
44 throw null;
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x6000B13")]
48 [global::Cpp2ILInjected.Address(RVA = "0x9A60E0", Offset = "0x9A60E0", Length = "0x18")]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingEntry), Member = "get_Binding", ReturnType = typeof(KeyCode))]
51 public void Backup()
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x6000B14")]
57 [global::Cpp2ILInjected.Address(RVA = "0x9A6174", Offset = "0x9A6174", Length = "0x8")]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
59 public void Restore()
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x6000B15")]
65 [global::Cpp2ILInjected.Address(RVA = "0x9A61F8", Offset = "0x9A61F8", Length = "0xF8")]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappings), Member = "SetCategory", MemberParameters = new object[] { typeof(KeyboardMappingsCategories_Layout.Category) }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyboardMappingsCategories_Layout), Member = "GetCategorySetup", MemberParameters = new object[]
70 {
71 typeof(string),
73 typeof(ref int),
74 typeof(int)
75 }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
77 {
78 typeof(string),
79 typeof(string)
80 }, ReturnType = typeof(string))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
82 {
83 typeof(string),
84 typeof(string)
85 }, ReturnType = typeof(string))]
86 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
88 {
89 throw null;
90 }
91
92 [global::Cpp2ILInjected.Token(Token = "0x1700011C")]
94 {
95 [global::Cpp2ILInjected.Token(Token = "0x6000B16")]
96 [global::Cpp2ILInjected.Address(RVA = "0x9A60F8", Offset = "0x9A60F8", Length = "0x7C")]
97 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappingEntry), Member = "Backup", ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappingEntry), Member = "get_HasMapping", ReturnType = typeof(bool))]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappingEntry), Member = "Draw", ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappings), Member = "Backup", ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton), Member = "get_FirstEntry", ReturnType = typeof(ControllerActionButton.Entry))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "get_FirstEntry", ReturnType = typeof(ControllerActionAxis.Entry))]
105 get
106 {
107 throw null;
108 }
109 [global::Cpp2ILInjected.Token(Token = "0x6000B17")]
110 [global::Cpp2ILInjected.Address(RVA = "0x9A617C", Offset = "0x9A617C", Length = "0x7C")]
111 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappingEntry), Member = "RemoveBinding", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappingEntry), Member = "Draw", ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappings), Member = "RestoreBackup", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton), Member = "get_FirstEntry", ReturnType = typeof(ControllerActionButton.Entry))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "get_FirstEntry", ReturnType = typeof(ControllerActionAxis.Entry))]
118 set
119 {
120 throw null;
121 }
122 }
123
124 [global::Cpp2ILInjected.Token(Token = "0x1700011D")]
125 public bool HasMapping
126 {
127 [global::Cpp2ILInjected.Token(Token = "0x6000B18")]
128 [global::Cpp2ILInjected.Address(RVA = "0x9A62F0", Offset = "0x9A62F0", Length = "0x18")]
129 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingEntry), Member = "get_Binding", ReturnType = typeof(KeyCode))]
132 get
133 {
134 throw null;
135 }
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x6000B19")]
139 [global::Cpp2ILInjected.Address(RVA = "0x9A6308", Offset = "0x9A6308", Length = "0x20")]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingEntry), Member = "Draw", ReturnType = typeof(void))]
142 public void DrawOverlay()
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x6000B1A")]
148 [global::Cpp2ILInjected.Address(RVA = "0x9A6CA8", Offset = "0x9A6CA8", Length = "0xA0")]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappingEntry), Member = "Draw", ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappings), Member = "ClearMapping", ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingEntry), Member = "set_Binding", MemberParameters = new object[] { typeof(KeyCode) }, ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingOverlay), Member = "DeactivateOverlay", ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionManager), Member = "UnregisterPickingInterceptor", MemberParameters = new object[] { typeof(GUIInputRegionExclusive) }, ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
156 public void RemoveBinding()
157 {
158 throw null;
159 }
160
161 [global::Cpp2ILInjected.Token(Token = "0x6000B1B")]
162 [global::Cpp2ILInjected.Address(RVA = "0x9A6328", Offset = "0x9A6328", Length = "0x980")]
163 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappingEntry), Member = "DrawOverlay", ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappings), Member = "Draw", ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappings), Member = "SettingDraw", MemberParameters = new object[]
167 {
169 typeof(int),
171 typeof(float)
172 }, ReturnType = typeof(void))]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
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(Language), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(LocalizedText))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIString), Member = "Draw", MemberParameters = new object[]
196 {
198 typeof(string)
199 }, ReturnType = typeof(void))]
200 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUITransactionButton), Member = "DrawWithBanner", MemberParameters = new object[]
201 {
205 typeof(Item),
206 typeof(string),
207 typeof(bool),
208 typeof(ref float),
209 typeof(bool),
210 typeof(bool),
211 typeof(bool),
212 typeof(bool),
213 typeof(bool),
214 typeof(bool)
215 }, ReturnType = typeof(GUITransactionButton.InputState))]
216 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
217 {
218 typeof(int),
219 typeof(int),
220 typeof(int),
221 typeof(int),
222 typeof(float),
223 typeof(float)
224 }, ReturnType = typeof(SoundEffectInstance))]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingOverlay), Member = "DeactivateOverlay", ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionManager), Member = "UnregisterPickingInterceptor", MemberParameters = new object[] { typeof(GUIInputRegionExclusive) }, ReturnType = typeof(void))]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mouseLeftRelease", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingEntry), Member = "RemoveBinding", ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Int32Enum>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
230 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappings), Member = "ClearBinding", MemberParameters = new object[] { typeof(KeyCode) }, ReturnType = typeof(void))]
231 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingEntry), Member = "set_Binding", MemberParameters = new object[] { typeof(KeyCode) }, ReturnType = typeof(void))]
232 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingEntry), Member = "get_Binding", ReturnType = typeof(KeyCode))]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enum), Member = "ToString", ReturnType = typeof(string))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
235 {
236 typeof(string),
237 typeof(string)
238 }, ReturnType = typeof(string))]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUITransactionButton), Member = "Draw", MemberParameters = new object[]
241 {
245 typeof(string),
246 typeof(bool),
247 typeof(ref float),
249 typeof(bool),
250 typeof(bool),
251 typeof(bool),
252 typeof(bool)
253 }, ReturnType = typeof(GUITransactionButton.InputState))]
254 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlAnchor), Member = "get__gridItemRegion", ReturnType = typeof(Rectangle))]
255 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeftRelease", ReturnType = typeof(bool))]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeft", ReturnType = typeof(bool))]
257 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyboardInput), Member = "GetKeyUp", MemberParameters = new object[] { typeof(KeyCode) }, ReturnType = typeof(bool))]
258 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionExclusive.IsOverHandler), Member = ".ctor", MemberParameters = new object[]
259 {
260 typeof(object),
262 }, ReturnType = typeof(void))]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionManager), Member = "RegisterPickingInterceptor", MemberParameters = new object[] { typeof(GUIInputRegionExclusive.IsOverHandler) }, ReturnType = typeof(GUIInputRegionExclusive))]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingOverlay), Member = "ActivateOverlay", MemberParameters = new object[]
265 {
268 }, ReturnType = typeof(void))]
269 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 37)]
270 public void Draw()
271 {
272 throw null;
273 }
274
275 [global::Cpp2ILInjected.Token(Token = "0x6000B1C")]
276 [global::Cpp2ILInjected.Address(RVA = "0x9A6F80", Offset = "0x9A6F80", Length = "0x50")]
277 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappingOverlay), Member = "UpdateScroll", ReturnType = typeof(void))]
278 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIKeyboardMappingOverlay), Member = "GetSelectedItemRegion", ReturnType = typeof(Rectangle))]
279 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
280 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
281 public float GetElementHeight()
282 {
283 throw null;
284 }
285
286 [global::Cpp2ILInjected.Token(Token = "0x6000B1D")]
287 [global::Cpp2ILInjected.Address(RVA = "0x9A6FD0", Offset = "0x9A6FD0", Length = "0xD0")]
288 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
290 {
291 typeof(int),
292 typeof(int),
293 typeof(int),
294 typeof(int),
295 typeof(float),
296 typeof(float)
297 }, ReturnType = typeof(SoundEffectInstance))]
298 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappingOverlay), Member = "DeactivateOverlay", ReturnType = typeof(void))]
299 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionManager), Member = "UnregisterPickingInterceptor", MemberParameters = new object[] { typeof(GUIInputRegionExclusive) }, ReturnType = typeof(void))]
300 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
302 {
303 throw null;
304 }
305
306 [global::Cpp2ILInjected.Token(Token = "0x6000B1E")]
307 [global::Cpp2ILInjected.Address(RVA = "0x9A6D64", Offset = "0x9A6D64", Length = "0x1C")]
308 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
309 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(LocalizedText))]
310 private string GetTitle()
311 {
312 throw null;
313 }
314
315 // Note: this type is marked as 'beforefieldinit'.
316 [global::Cpp2ILInjected.Token(Token = "0x6000B1F")]
317 [global::Cpp2ILInjected.Address(RVA = "0x9A70A0", Offset = "0x9A70A0", Length = "0x50")]
318 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
319 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
321 {
322 throw null;
323 }
324
325 [global::Cpp2ILInjected.Token(Token = "0x4000B97")]
326 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
328
329 [global::Cpp2ILInjected.Token(Token = "0x4000B98")]
330 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
332
333 [global::Cpp2ILInjected.Token(Token = "0x4000B99")]
334 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
335 private int actionIndex;
336
337 [global::Cpp2ILInjected.Token(Token = "0x4000B9A")]
338 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
340
341 [global::Cpp2ILInjected.Token(Token = "0x4000B9B")]
342 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
343 private readonly string localisationId;
344
345 [global::Cpp2ILInjected.Token(Token = "0x4000B9C")]
346 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
347 private float buttonScale;
348
349 [global::Cpp2ILInjected.Token(Token = "0x4000B9D")]
350 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
351 private float scale;
352
353 [global::Cpp2ILInjected.Token(Token = "0x4000B9E")]
354 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
355 private bool drawingOverlay;
356
357 [global::Cpp2ILInjected.Token(Token = "0x4000B9F")]
358 private static int LastButtonMapped;
359
360 [global::Cpp2ILInjected.Token(Token = "0x4000BA0")]
361 private static bool ignoreClick;
362
363 [global::Cpp2ILInjected.Token(Token = "0x4000BA1")]
364 [global::Cpp2ILInjected.FieldOffset(Offset = "0x39")]
365 public bool displayOptions;
366
367 [global::Cpp2ILInjected.Token(Token = "0x4000BA2")]
368 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
370
371 [global::Cpp2ILInjected.Token(Token = "0x4000BA3")]
372 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
374
375 [global::Cpp2ILInjected.Token(Token = "0x4000BA4")]
376 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4C")]
377 public int SortOrder;
378}
class f__AnonymousType0<< Count > j__TPar
delegate bool IsOverHandler(Vector2 cursorPosition)
ControllerActionButton buttonAction
KeyboardMappingsCategories_Layout.Category Category
GUIKeyboardMappingEntry(ControllerActionButton action)
GUIKeyboardMappingEntry(ControllerActionVector action, int index)
bool IsOverOptions(Microsoft.Xna.Framework.Vector2 cursorPosition)
ControllerActionVector axisAction
GUIInputRegionExclusive _optionsBlocker