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
ControllerActionVector.cs
Go to the documentation of this file.
1using System;
6using UnityEngine;
7
8namespace Controller
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000B5B")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x17000932")]
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x600547D")]
17 [global::Cpp2ILInjected.Address(RVA = "0x94B8D4", Offset = "0x94B8D4", Length = "0x74")]
18 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner.Action), Member = ".ctor", MemberParameters = new object[]
20 {
21 typeof(GUIControlsBanner.ActionSource),
22 typeof(ControllerActionVector),
23 typeof(string),
24 typeof(Microsoft.Xna.Framework.Graphics.Texture2D),
25 typeof(Rectangle),
26 typeof(TransactionButton_Layout),
27 typeof(bool),
28 typeof(int)
29 }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemDraw", MemberParameters = new object[]
31 {
33 typeof(int),
35 typeof(float)
36 }, ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemRightDraw", MemberParameters = new object[]
38 {
40 typeof(int),
42 typeof(float)
43 }, ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionVector), Member = "get_HasMapping", ReturnType = typeof(bool))]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
47 get
48 {
49 throw null;
50 }
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x17000933")]
55 {
56 [global::Cpp2ILInjected.Token(Token = "0x600547E")]
57 [global::Cpp2ILInjected.Address(RVA = "0x94B9E0", Offset = "0x94B9E0", Length = "0x74")]
58 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionVector), Member = "get_HasMapping", ReturnType = typeof(bool))]
61 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
62 get
63 {
64 throw null;
65 }
66 }
67
68 [global::Cpp2ILInjected.Token(Token = "0x17000934")]
69 public bool HasMapping
70 {
71 [global::Cpp2ILInjected.Token(Token = "0x600547F")]
72 [global::Cpp2ILInjected.Address(RVA = "0x94B948", Offset = "0x94B948", Length = "0x98")]
73 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingEntry), Member = "get_HasMapping", ReturnType = typeof(bool))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "DrawAxisControl", MemberParameters = new object[]
76 {
80 typeof(float),
82 typeof(bool)
83 }, ReturnType = typeof(int))]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemDraw", MemberParameters = new object[]
85 {
87 typeof(int),
89 typeof(float)
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemRightDraw", MemberParameters = new object[]
92 {
94 typeof(int),
96 typeof(float)
97 }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "GetControlTag", MemberParameters = new object[] { typeof(ControllerActionVector) }, ReturnType = typeof(string))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemSize", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Microsoft.Xna.Framework.Vector2))]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "AddAction", MemberParameters = new object[]
101 {
103 typeof(int)
104 }, ReturnType = typeof(bool))]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "AddAction", MemberParameters = new object[]
106 {
109 typeof(string),
113 typeof(bool)
114 }, ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControllerActionVector), Member = "get_MappedX", ReturnType = typeof(ControllerActionAxis))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControllerActionVector), Member = "get_MappedY", ReturnType = typeof(ControllerActionAxis))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControllerActionVector), Member = "get_RequiredState", ReturnType = typeof(ControllerActionButton.RequiredButtonState))]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 11)]
119 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
120 get
121 {
122 throw null;
123 }
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x17000935")]
128 {
129 [global::Cpp2ILInjected.Token(Token = "0x6005480")]
130 [global::Cpp2ILInjected.Address(RVA = "0x94BA54", Offset = "0x94BA54", Length = "0x88")]
131 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemDraw", MemberParameters = new object[]
133 {
135 typeof(int),
137 typeof(float)
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemRightDraw", MemberParameters = new object[]
140 {
142 typeof(int),
144 typeof(float)
145 }, ReturnType = typeof(void))]
146 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemSize", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Microsoft.Xna.Framework.Vector2))]
147 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "AddAction", MemberParameters = new object[]
148 {
151 typeof(string),
155 typeof(bool)
156 }, ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 17)]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionVector), Member = "get_HasMapping", ReturnType = typeof(bool))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "get_RequiredState", ReturnType = typeof(ControllerActionButton.RequiredButtonState))]
160 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
161 get
162 {
163 throw null;
164 }
165 }
166
167 [global::Cpp2ILInjected.Token(Token = "0x17000936")]
169 {
170 [global::Cpp2ILInjected.Token(Token = "0x6005481")]
171 [global::Cpp2ILInjected.Address(RVA = "0x94BADC", Offset = "0x94BADC", Length = "0x68")]
172 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingEntry), Member = "Draw", ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
175 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
176 get
177 {
178 throw null;
179 }
180 }
181
182 [global::Cpp2ILInjected.Token(Token = "0x17000937")]
184 {
185 [global::Cpp2ILInjected.Token(Token = "0x6005482")]
186 [global::Cpp2ILInjected.Address(RVA = "0x94BB44", Offset = "0x94BB44", Length = "0x60")]
187 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
188 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingEntry), Member = "Draw", ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "get_RequiredState", ReturnType = typeof(ControllerActionButton.RequiredButtonState))]
191 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
192 get
193 {
194 throw null;
195 }
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x6005483")]
199 [global::Cpp2ILInjected.Address(RVA = "0x94BBA4", Offset = "0x94BBA4", Length = "0x50")]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIHotbar), Member = "UpdateHotbarNavigation", ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIHousingMenu), Member = "UpdateHotbarNavigation", ReturnType = typeof(void))]
202 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "Active", MemberParameters = new object[] { typeof(ControllerDevice) }, ReturnType = typeof(bool))]
204 public bool Active(ControllerDevice device)
205 {
206 throw null;
207 }
208
209 [global::Cpp2ILInjected.Token(Token = "0x6005484")]
210 [global::Cpp2ILInjected.Address(RVA = "0x94BBF4", Offset = "0x94BBF4", Length = "0x40")]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "AddAction", MemberParameters = new object[]
212 {
215 typeof(string),
219 typeof(bool)
220 }, ReturnType = typeof(void))]
221 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "RequiredStateValid", MemberParameters = new object[] { typeof(ControllerDevice) }, ReturnType = typeof(bool))]
224 {
225 throw null;
226 }
227
228 [global::Cpp2ILInjected.Token(Token = "0x6005485")]
229 [global::Cpp2ILInjected.Address(RVA = "0x94BC34", Offset = "0x94BC34", Length = "0x160")]
230 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerNavigationController), Member = "UpdateUINavigation", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISlider), Member = "Draw", MemberParameters = new object[]
233 {
235 typeof(bool),
236 typeof(ref float),
239 typeof(bool),
240 typeof(int),
241 typeof(int),
242 typeof(bool)
243 }, ReturnType = typeof(bool))]
244 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemDraw", MemberParameters = new object[]
245 {
247 typeof(int),
249 typeof(float)
250 }, ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemRightDraw", MemberParameters = new object[]
252 {
254 typeof(int),
256 typeof(float)
257 }, ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIHotbar), Member = "UpdateHotbarNavigation", ReturnType = typeof(void))]
259 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIHousingMenu), Member = "UpdateHotbarNavigation", ReturnType = typeof(void))]
260 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMap), Member = "DrawMap", ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIVirtualInputController), Member = "Update", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
262 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISafeRegionEdit), Member = "UpdateCursorDragging", MemberParameters = new object[] { typeof(ref Rect) }, ReturnType = typeof(bool))]
263 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIVirtualInputControllerEdit), Member = "UpdateInterfaceMovement", ReturnType = typeof(void))]
264 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNAUIInputLayer), Member = "Update", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
265 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControllerActionVector), Member = "GetValue", MemberParameters = new object[] { typeof(ControllerDevice) }, ReturnType = typeof(global::UnityEngine.Vector2))]
266 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 18)]
267 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "GetValue", MemberParameters = new object[] { typeof(ControllerDevice) }, ReturnType = typeof(float))]
268 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionVector), Member = "GetValue", MemberParameters = new object[] { typeof(ControllerDevice) }, ReturnType = typeof(global::UnityEngine.Vector2))]
269 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
270 public global::UnityEngine.Vector2 GetValue(ControllerDevice controller)
271 {
272 throw null;
273 }
274
275 [global::Cpp2ILInjected.Token(Token = "0x6005486")]
276 [global::Cpp2ILInjected.Address(RVA = "0x94BD94", Offset = "0x94BD94", Length = "0x10")]
277 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControllerActionManager), Member = "CreateVectorMapping", MemberParameters = new object[]
278 {
279 typeof(string),
282 }, ReturnType = typeof(ControllerActionVector))]
283 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
284 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
286 {
287 throw null;
288 }
289
290 [global::Cpp2ILInjected.Token(Token = "0x4008D4F")]
291 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
292 public string Id;
293
294 [global::Cpp2ILInjected.Token(Token = "0x4008D50")]
295 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
297
298 [global::Cpp2ILInjected.Token(Token = "0x4008D51")]
299 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
301
302 [global::Cpp2ILInjected.Token(Token = "0x4008D52")]
303 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
304 public int DisplayPriority;
305
306 [global::Cpp2ILInjected.Token(Token = "0x4008D53")]
307 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
309
310 [global::Cpp2ILInjected.Token(Token = "0x4008D54")]
311 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
312 public bool Enabled;
313
314 [global::Cpp2ILInjected.Token(Token = "0x4008D55")]
315 [global::Cpp2ILInjected.FieldOffset(Offset = "0x39")]
317 }
318}
class f__AnonymousType0<< Count > j__TPar
ControllerActionButton.RequiredButtonState RequiredStateExcludeLinked
bool Active(ControllerDevice device)
bool RequiredStateValid(ControllerDevice device)
ControllerActionButton.RequiredButtonState RequiredState
global::UnityEngine.Vector2 GetValue(ControllerDevice controller)
delegate void DrawBackingHandler(Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Vector2 size, Slider_Layout layout, bool controllerOver)