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
WiresUI.cs
Go to the documentation of this file.
1using System;
2using Controller;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000A67")]
13 public class WiresUI
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x170008A1")]
16 public static bool Open
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x6004E95")]
19 [global::Cpp2ILInjected.Address(RVA = "0x8E5FDC", Offset = "0x8E5FDC", Length = "0x5C")]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsUse", MemberParameters = new object[]
21 {
22 typeof(int),
23 typeof(int)
24 }, ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
26 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
27 get
28 {
29 throw null;
30 }
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x6004E96")]
34 [global::Cpp2ILInjected.Address(RVA = "0x8E6038", Offset = "0x8E6038", Length = "0x8C")]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.WiresRadial), Member = "FlowerUpdate", ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.WiresRadial), Member = "LineUpdate", ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.WiresRadial), Member = "DrawFlower", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.WiresRadial), Member = "DrawCursorArea", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
41 public static void HandleWiresUI(SpriteBatch spriteBatch)
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x6004E97")]
47 [global::Cpp2ILInjected.Address(RVA = "0x8E6104", Offset = "0x8E6104", Length = "0x8")]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
50 public WiresUI()
51 {
52 throw null;
53 }
54
55 // Note: this type is marked as 'beforefieldinit'.
56 [global::Cpp2ILInjected.Token(Token = "0x6004E98")]
57 [global::Cpp2ILInjected.Address(RVA = "0x8E610C", Offset = "0x8E610C", Length = "0x70")]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
61 static WiresUI()
62 {
63 throw null;
64 }
65
66 [global::Cpp2ILInjected.Token(Token = "0x40087B4")]
68
69 [global::Cpp2ILInjected.Token(Token = "0x2000A68")]
70 public static class Settings
71 {
72 [global::Cpp2ILInjected.Token(Token = "0x170008A2")]
74 {
75 [global::Cpp2ILInjected.Token(Token = "0x6004E99")]
76 [global::Cpp2ILInjected.Address(RVA = "0x8E6184", Offset = "0x8E6184", Length = "0x4C")]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ControlsTouchTagHandler.ControlsTouchSnippet", Member = "Draw", MemberParameters = new object[]
78 {
79 typeof(int),
80 typeof(int),
81 typeof(bool),
86 typeof(float)
87 }, ReturnType = typeof(bool))]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIQuickActionButton), Member = "Draw", MemberParameters = new object[]
89 {
92 typeof(bool),
93 typeof(ref float)
94 }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIQuickActionButton), Member = "CanInteract", MemberParameters = new object[]
96 {
98 typeof(Item),
101 typeof(ref bool)
102 }, ReturnType = typeof(bool))]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWiresUI), Member = "ItemDraw", MemberParameters = new object[]
104 {
106 typeof(int),
108 typeof(float)
109 }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWiresUI), Member = "DrawOverlay", ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWiresUI), Member = "DrawCursorArea", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProjDirect", MemberParameters = new object[]
113 {
115 typeof(int)
116 }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
118 {
119 typeof(byte[]),
120 typeof(int),
121 typeof(ref int)
122 }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseWiringTools", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_CheckCanUse", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(bool))]
125 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Kill", ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Wiring), Member = "MassWireOperationInner", MemberParameters = new object[]
127 {
128 typeof(Player),
129 typeof(Point),
130 typeof(Point),
132 typeof(bool),
133 typeof(ref int),
134 typeof(ref int)
135 }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_MulticolorWrench", MemberParameters = new object[]
137 {
138 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
139 typeof(ref int),
140 typeof(ref int)
141 }, ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 27)]
143 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
144 get
145 {
146 throw null;
147 }
148 [global::Cpp2ILInjected.Token(Token = "0x6004E9A")]
149 [global::Cpp2ILInjected.Address(RVA = "0x8E61D0", Offset = "0x8E61D0", Length = "0x50")]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWiresUI), Member = "ItemDraw", MemberParameters = new object[]
151 {
153 typeof(int),
155 typeof(float)
156 }, ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
158 {
159 typeof(byte[]),
160 typeof(int),
161 typeof(ref int)
162 }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseWiringTools", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
165 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
166 set
167 {
168 throw null;
169 }
170 }
171
172 [global::Cpp2ILInjected.Token(Token = "0x170008A3")]
173 public static bool DrawWires
174 {
175 [global::Cpp2ILInjected.Token(Token = "0x6004E9B")]
176 [global::Cpp2ILInjected.Address(RVA = "0x8E6220", Offset = "0x8E6220", Length = "0x170")]
177 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
178 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
179 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CaptureInterface), Member = "UpdateButtons", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(bool))]
180 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CaptureInterface), Member = "QuickScreenshot", ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
183 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
184 get
185 {
186 throw null;
187 }
188 }
189
190 [global::Cpp2ILInjected.Token(Token = "0x170008A4")]
191 public static bool HideWires
192 {
193 [global::Cpp2ILInjected.Token(Token = "0x6004E9C")]
194 [global::Cpp2ILInjected.Address(RVA = "0x8E6390", Offset = "0x8E6390", Length = "0xA0")]
195 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
196 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWires", ReturnType = typeof(void))]
197 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
199 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
200 get
201 {
202 throw null;
203 }
204 }
205
206 [global::Cpp2ILInjected.Token(Token = "0x170008A5")]
207 public static bool DrawToolModeUI
208 {
209 [global::Cpp2ILInjected.Token(Token = "0x6004E9D")]
210 [global::Cpp2ILInjected.Address(RVA = "0x8E6430", Offset = "0x8E6430", Length = "0xAC")]
211 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
212 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerNavigationController), Member = "get_NavigationAxis", ReturnType = typeof(ControllerActionVector))]
213 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerNavigationController), Member = "UpdateUINavigation", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
214 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIQuickActionButton), Member = "Draw", MemberParameters = new object[]
215 {
218 typeof(bool),
219 typeof(ref float)
220 }, ReturnType = typeof(void))]
221 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIQuickActionButton), Member = "CanInteract", MemberParameters = new object[]
222 {
223 typeof(Player),
224 typeof(Item),
227 typeof(ref bool)
228 }, ReturnType = typeof(bool))]
229 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIResearch), Member = "DrawInventoryResearchButton", ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIVirtualInputController), Member = "CanInteract", MemberParameters = new object[]
231 {
232 typeof(Player),
233 typeof(Item)
234 }, ReturnType = typeof(bool))]
235 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWiresUI), Member = "DrawCursor", ReturnType = typeof(void))]
236 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWiresUI), Member = "DrawOverlay", ReturnType = typeof(void))]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWiresUI), Member = "IsOver", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(bool))]
238 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPageOptions), Member = "DrawEquipButton", ReturnType = typeof(void))]
239 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "QuickGrapple", ReturnType = typeof(void))]
240 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SmartInteractLookup", ReturnType = typeof(void))]
241 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
242 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI.WiresRadial), Member = "LineUpdate", ReturnType = typeof(void))]
243 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI.WiresRadial), Member = "FlowerUpdate", ReturnType = typeof(void))]
244 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 21)]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
246 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
247 get
248 {
249 throw null;
250 }
251 }
252
253 [global::Cpp2ILInjected.Token(Token = "0x170008A6")]
254 private static int _lastActuatorEnabled
255 {
256 [global::Cpp2ILInjected.Token(Token = "0x6004E9E")]
257 [global::Cpp2ILInjected.Address(RVA = "0x8E64DC", Offset = "0x8E64DC", Length = "0x4C")]
258 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
259 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
260 get
261 {
262 throw null;
263 }
264 [global::Cpp2ILInjected.Token(Token = "0x6004E9F")]
265 [global::Cpp2ILInjected.Address(RVA = "0x8E6528", Offset = "0x8E6528", Length = "0x50")]
266 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
267 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
268 set
269 {
270 throw null;
271 }
272 }
273
274 [global::Cpp2ILInjected.Token(Token = "0x170008A7")]
275 public static bool DrawToolAllowActuators
276 {
277 [global::Cpp2ILInjected.Token(Token = "0x6004EA0")]
278 [global::Cpp2ILInjected.Address(RVA = "0x8E6578", Offset = "0x8E6578", Length = "0x140")]
279 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
280 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerWiresUI), Member = "Navigate", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(GUIControllerItem))]
281 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerWiresUI), Member = "GetSelectedItemRegion", ReturnType = typeof(Rectangle))]
282 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWiresUI), Member = "DrawOverlay", ReturnType = typeof(void))]
283 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWiresUI), Member = "DrawCursorArea", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
284 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWiresUI), Member = "CalculateRegion", ReturnType = typeof(Rectangle))]
285 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI.WiresRadial), Member = "LineUpdate", ReturnType = typeof(void))]
286 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI.WiresRadial), Member = "DrawLine", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI.WiresRadial), Member = "DrawFlower", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
288 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI.WiresRadial), Member = "DrawCursorArea", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
289 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
291 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
292 get
293 {
294 throw null;
295 }
296 }
297
298 [Flags]
299 [global::Cpp2ILInjected.Token(Token = "0x2000A69")]
300 public enum MultiToolMode
301 {
302 [global::Cpp2ILInjected.Token(Token = "0x40087B6")]
303 Red = 1,
304 [global::Cpp2ILInjected.Token(Token = "0x40087B7")]
305 Green = 2,
306 [global::Cpp2ILInjected.Token(Token = "0x40087B8")]
307 Blue = 4,
308 [global::Cpp2ILInjected.Token(Token = "0x40087B9")]
309 Yellow = 8,
310 [global::Cpp2ILInjected.Token(Token = "0x40087BA")]
311 Actuator = 16,
312 [global::Cpp2ILInjected.Token(Token = "0x40087BB")]
313 Cutter = 32
314 }
315 }
316
317 [global::Cpp2ILInjected.Token(Token = "0x2000A6A")]
318 public class WiresRadial
319 {
320 [global::Cpp2ILInjected.Token(Token = "0x6004EA1")]
321 [global::Cpp2ILInjected.Address(RVA = "0x8E60C4", Offset = "0x8E60C4", Length = "0x18")]
322 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.WiresRadial), Member = "FlowerUpdate", ReturnType = typeof(void))]
324 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.WiresRadial), Member = "LineUpdate", ReturnType = typeof(void))]
325 public void Update()
326 {
327 throw null;
328 }
329
330 [global::Cpp2ILInjected.Token(Token = "0x6004EA2")]
331 [global::Cpp2ILInjected.Address(RVA = "0x8E6918", Offset = "0x8E6918", Length = "0x260")]
332 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
333 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI.WiresRadial), Member = "Update", ReturnType = typeof(void))]
334 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI), Member = "HandleWiresUI", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
335 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
336 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
337 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.Settings), Member = "get_DrawToolModeUI", ReturnType = typeof(bool))]
338 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseItem", ReturnType = typeof(Item))]
339 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_ingameOptionsWindow", ReturnType = typeof(bool))]
340 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToDirectionInt", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(int))]
341 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(float) }, MemberParameters = new object[]
342 {
343 typeof(float),
344 typeof(float),
345 typeof(float)
346 }, ReturnType = "T")]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Sign", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(int))]
348 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_UsingGamepad", ReturnType = typeof(bool))]
349 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.Settings), Member = "get_DrawToolAllowActuators", ReturnType = typeof(bool))]
350 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
351 private void LineUpdate()
352 {
353 throw null;
354 }
355
356 [global::Cpp2ILInjected.Token(Token = "0x6004EA3")]
357 [global::Cpp2ILInjected.Address(RVA = "0x8E66B8", Offset = "0x8E66B8", Length = "0x260")]
358 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
359 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI.WiresRadial), Member = "Update", ReturnType = typeof(void))]
360 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI), Member = "HandleWiresUI", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
361 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
362 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
363 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.Settings), Member = "get_DrawToolModeUI", ReturnType = typeof(bool))]
364 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseItem", ReturnType = typeof(Item))]
365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseRight", ReturnType = typeof(bool))]
366 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseRightRelease", ReturnType = typeof(bool))]
367 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_LockGamepadTileUseButton", ReturnType = typeof(bool))]
368 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_HoveringOverAnNPC", ReturnType = typeof(bool))]
369 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SmartInteractShowingGenuine", ReturnType = typeof(bool))]
370 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_MouseScreen", ReturnType = typeof(Vector2))]
371 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_UsingGamepad", ReturnType = typeof(bool))]
372 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SmartCursorWanted", ReturnType = typeof(bool))]
373 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
374 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
375 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
376 {
377 typeof(float),
378 typeof(float)
379 }, ReturnType = typeof(void))]
380 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
381 {
383 typeof(float)
384 }, ReturnType = typeof(Vector2))]
385 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
386 private void FlowerUpdate()
387 {
388 throw null;
389 }
390
391 [global::Cpp2ILInjected.Token(Token = "0x6004EA4")]
392 [global::Cpp2ILInjected.Address(RVA = "0x8E60DC", Offset = "0x8E60DC", Length = "0x28")]
393 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
394 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.WiresRadial), Member = "DrawFlower", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
395 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.WiresRadial), Member = "DrawCursorArea", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
396 public void Draw(SpriteBatch spriteBatch)
397 {
398 throw null;
399 }
400
401 [global::Cpp2ILInjected.Token(Token = "0x6004EA5")]
402 [global::Cpp2ILInjected.Address(RVA = "0x8E854C", Offset = "0x8E854C", Length = "0x1D80")]
403 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
404 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
405 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_MouseScreen", ReturnType = typeof(Vector2))]
406 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
407 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
408 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
409 {
410 typeof(float),
411 typeof(float)
412 }, ReturnType = typeof(void))]
413 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_UsingGamepad", ReturnType = typeof(bool))]
414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
415 {
418 }, ReturnType = typeof(Vector2))]
419 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Normalize", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
420 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Dot", MemberParameters = new object[]
421 {
424 }, ReturnType = typeof(float))]
425 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToRotation", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(float))]
426 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Length", ReturnType = typeof(float))]
427 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.Settings), Member = "get_DrawToolAllowActuators", ReturnType = typeof(bool))]
428 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
429 {
431 typeof(float)
432 }, ReturnType = typeof(Vector2))]
433 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
434 {
437 }, ReturnType = typeof(Vector2))]
438 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Distance", MemberParameters = new object[]
439 {
442 }, ReturnType = typeof(float))]
443 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
444 {
445 typeof(int),
446 typeof(int),
447 typeof(int)
448 }, ReturnType = typeof(void))]
449 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
450 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "CenteredRectangle", MemberParameters = new object[]
451 {
454 }, ReturnType = typeof(Rectangle))]
455 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeft", ReturnType = typeof(bool))]
456 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeftRelease", ReturnType = typeof(bool))]
457 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
458 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
459 {
460 typeof(Color),
461 typeof(float)
462 }, ReturnType = typeof(Color))]
463 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Size", MemberParameters = new object[] { typeof(Texture2D) }, ReturnType = typeof(Vector2))]
464 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
465 {
467 typeof(float)
468 }, ReturnType = typeof(Vector2))]
469 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
470 {
474 typeof(Color),
475 typeof(float),
477 typeof(float),
479 typeof(float)
480 }, ReturnType = typeof(void))]
481 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 55)]
482 private void DrawLine(SpriteBatch spriteBatch)
483 {
484 throw null;
485 }
486
487 [global::Cpp2ILInjected.Token(Token = "0x6004EA6")]
488 [global::Cpp2ILInjected.Address(RVA = "0x8E6B78", Offset = "0x8E6B78", Length = "0xFA0")]
489 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
490 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI.WiresRadial), Member = "Draw", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
491 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI), Member = "HandleWiresUI", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
492 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
493 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_MouseScreen", ReturnType = typeof(Vector2))]
494 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_UsingGamepad", ReturnType = typeof(bool))]
495 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SmartCursorWanted", ReturnType = typeof(bool))]
496 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Inequality", MemberParameters = new object[]
497 {
500 }, ReturnType = typeof(bool))]
501 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
502 {
504 typeof(float)
505 }, ReturnType = typeof(Vector2))]
506 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
507 {
510 }, ReturnType = typeof(Vector2))]
511 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
512 {
515 }, ReturnType = typeof(Vector2))]
516 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Normalize", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
517 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Dot", MemberParameters = new object[]
518 {
521 }, ReturnType = typeof(float))]
522 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToRotation", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(float))]
523 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Length", ReturnType = typeof(float))]
524 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.Settings), Member = "get_DrawToolAllowActuators", ReturnType = typeof(bool))]
525 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToInt", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(int))]
526 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "RotatedBy", MemberParameters = new object[]
527 {
529 typeof(double),
531 }, ReturnType = typeof(Vector2))]
532 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "AngleTowards", MemberParameters = new object[]
533 {
534 typeof(float),
535 typeof(float),
536 typeof(float)
537 }, ReturnType = typeof(float))]
538 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Distance", MemberParameters = new object[]
539 {
542 }, ReturnType = typeof(float))]
543 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
544 {
545 typeof(int),
546 typeof(int),
547 typeof(int)
548 }, ReturnType = typeof(void))]
549 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
550 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "CenteredRectangle", MemberParameters = new object[]
551 {
554 }, ReturnType = typeof(Rectangle))]
555 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeft", ReturnType = typeof(bool))]
556 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeftRelease", ReturnType = typeof(bool))]
557 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
558 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Size", MemberParameters = new object[] { typeof(Texture2D) }, ReturnType = typeof(Vector2))]
559 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
560 {
562 typeof(float)
563 }, ReturnType = typeof(Vector2))]
564 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
565 {
569 typeof(Color),
570 typeof(float),
572 typeof(float),
574 typeof(float)
575 }, ReturnType = typeof(void))]
576 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 69)]
577 private void DrawFlower(SpriteBatch spriteBatch)
578 {
579 throw null;
580 }
581
582 [global::Cpp2ILInjected.Token(Token = "0x6004EA7")]
583 [global::Cpp2ILInjected.Address(RVA = "0x8E7B18", Offset = "0x8E7B18", Length = "0xA34")]
584 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
585 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI.WiresRadial), Member = "Draw", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
586 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WiresUI), Member = "HandleWiresUI", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
587 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
588 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_MouseScreen", ReturnType = typeof(Vector2))]
589 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_UsingGamepad", ReturnType = typeof(bool))]
590 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToInt", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(int))]
591 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
592 {
593 typeof(float),
594 typeof(float)
595 }, ReturnType = typeof(void))]
596 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
597 {
600 }, ReturnType = typeof(Vector2))]
601 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
602 {
603 typeof(int),
604 typeof(int),
605 typeof(int)
606 }, ReturnType = typeof(void))]
607 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.Settings), Member = "get_DrawToolAllowActuators", ReturnType = typeof(bool))]
608 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
609 {
610 typeof(int),
611 typeof(int),
612 typeof(int),
613 typeof(int)
614 }, ReturnType = typeof(void))]
615 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_GamepadCursorAlpha", ReturnType = typeof(float))]
616 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
617 {
619 typeof(float)
620 }, ReturnType = typeof(Vector2))]
621 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "Lerp", MemberParameters = new object[]
622 {
623 typeof(Color),
624 typeof(Color),
625 typeof(float)
626 }, ReturnType = typeof(Color))]
627 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Floor", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
628 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
629 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
630 {
631 typeof(Color),
632 typeof(float)
633 }, ReturnType = typeof(Color))]
634 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Size", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(Vector2))]
635 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
636 {
638 typeof(float)
639 }, ReturnType = typeof(Vector2))]
640 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
641 {
645 typeof(Color),
646 typeof(float),
648 typeof(float),
650 typeof(float)
651 }, ReturnType = typeof(void))]
652 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 36)]
653 private void DrawCursorArea(SpriteBatch spriteBatch)
654 {
655 throw null;
656 }
657
658 [global::Cpp2ILInjected.Token(Token = "0x6004EA8")]
659 [global::Cpp2ILInjected.Address(RVA = "0x8E617C", Offset = "0x8E617C", Length = "0x8")]
660 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
661 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
662 public WiresRadial()
663 {
664 throw null;
665 }
666
667 [global::Cpp2ILInjected.Token(Token = "0x40087BC")]
668 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
670
671 [global::Cpp2ILInjected.Token(Token = "0x40087BD")]
672 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
673 public bool active;
674
675 [global::Cpp2ILInjected.Token(Token = "0x40087BE")]
676 [global::Cpp2ILInjected.FieldOffset(Offset = "0x19")]
677 public bool OnWiresMenu;
678
679 [global::Cpp2ILInjected.Token(Token = "0x40087BF")]
680 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
681 private float _lineOpacity;
682 }
683 }
684}
class f__AnonymousType0<< Count > j__TPar
static WiresUI.Settings.MultiToolMode ToolMode
Definition WiresUI.cs:74
void Draw(SpriteBatch spriteBatch)
Definition WiresUI.cs:396
void DrawLine(SpriteBatch spriteBatch)
Definition WiresUI.cs:482
void DrawCursorArea(SpriteBatch spriteBatch)
Definition WiresUI.cs:653
void DrawFlower(SpriteBatch spriteBatch)
Definition WiresUI.cs:577
static WiresUI.WiresRadial radial
Definition WiresUI.cs:67
static void HandleWiresUI(SpriteBatch spriteBatch)
Definition WiresUI.cs:41