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
MinimapFrame.cs
Go to the documentation of this file.
1using System;
10using Terraria.Audio;
14
16{
17 [global::Cpp2ILInjected.Token(Token = "0x2000A8A")]
19 {
20 [global::Cpp2ILInjected.Token(Token = "0x170008B4")]
21 public string ConfigKey
22 {
24 [global::Cpp2ILInjected.Token(Token = "0x6004FAC")]
25 [global::Cpp2ILInjected.Address(RVA = "0x90069C", Offset = "0x90069C", Length = "0x8")]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
27 get
28 {
29 throw null;
30 }
32 [global::Cpp2ILInjected.Token(Token = "0x6004FAD")]
33 [global::Cpp2ILInjected.Address(RVA = "0x9006A4", Offset = "0x9006A4", Length = "0x8")]
34 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
35 set
36 {
37 throw null;
38 }
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x170008B5")]
42 public string NameKey
43 {
45 [global::Cpp2ILInjected.Token(Token = "0x6004FAE")]
46 [global::Cpp2ILInjected.Address(RVA = "0x9006AC", Offset = "0x9006AC", Length = "0x8")]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
48 get
49 {
50 throw null;
51 }
53 [global::Cpp2ILInjected.Token(Token = "0x6004FAF")]
54 [global::Cpp2ILInjected.Address(RVA = "0x9006B4", Offset = "0x9006B4", Length = "0x8")]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 set
57 {
58 throw null;
59 }
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x170008B6")]
64 {
66 [global::Cpp2ILInjected.Token(Token = "0x6004FB0")]
67 [global::Cpp2ILInjected.Address(RVA = "0x9006BC", Offset = "0x9006BC", Length = "0x8")]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
69 get
70 {
71 throw null;
72 }
74 [global::Cpp2ILInjected.Token(Token = "0x6004FB1")]
75 [global::Cpp2ILInjected.Address(RVA = "0x9006C4", Offset = "0x9006C4", Length = "0x8")]
76 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
77 set
78 {
79 throw null;
80 }
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x170008B7")]
85 {
86 [global::Cpp2ILInjected.Token(Token = "0x6004FB2")]
87 [global::Cpp2ILInjected.Address(RVA = "0x9006CC", Offset = "0x9006CC", Length = "0x7C")]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrame), Member = "DrawForeground", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrame), Member = "GetButtonUnderMouse", ReturnType = typeof(MinimapFrame.Button))]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
92 {
95 }, ReturnType = typeof(Vector2))]
96 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
97 get
98 {
99 throw null;
100 }
101 [global::Cpp2ILInjected.Token(Token = "0x6004FB3")]
102 [global::Cpp2ILInjected.Address(RVA = "0x900748", Offset = "0x900748", Length = "0x88")]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
105 {
108 }, ReturnType = typeof(Vector2))]
109 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
110 set
111 {
112 throw null;
113 }
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x6004FB4")]
117 [global::Cpp2ILInjected.Address(RVA = "0x9007D0", Offset = "0x9007D0", Length = "0x3C")]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AssetInitializer), Member = "LoadMinimap", MemberParameters = new object[]
119 {
120 typeof(string),
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
130 {
131 throw null;
132 }
133
134 [global::Cpp2ILInjected.Token(Token = "0x6004FB5")]
135 [global::Cpp2ILInjected.Address(RVA = "0x90080C", Offset = "0x90080C", Length = "0xC8")]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AssetInitializer), Member = "LoadMinimap", MemberParameters = new object[]
137 {
138 typeof(string),
144 }, ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrameTemplate), Member = "CreateInstance", MemberParameters = new object[] { typeof(AssetRequestMode) }, ReturnType = typeof(MinimapFrame))]
146 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Action), Member = ".ctor", MemberParameters = new object[]
148 {
149 typeof(object),
151 }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
155 {
156 throw null;
157 }
158
159 [global::Cpp2ILInjected.Token(Token = "0x6004FB6")]
160 [global::Cpp2ILInjected.Address(RVA = "0x900914", Offset = "0x900914", Length = "0x58")]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrame), Member = "<SetResetButton>b__24_0", ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMinimapScale", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
165 private void ResetZoom()
166 {
167 throw null;
168 }
169
170 [global::Cpp2ILInjected.Token(Token = "0x6004FB7")]
171 [global::Cpp2ILInjected.Address(RVA = "0x90096C", Offset = "0x90096C", Length = "0xC8")]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AssetInitializer), Member = "LoadMinimap", MemberParameters = new object[]
173 {
174 typeof(string),
180 }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrameTemplate), Member = "CreateInstance", MemberParameters = new object[] { typeof(AssetRequestMode) }, ReturnType = typeof(MinimapFrame))]
182 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Action), Member = ".ctor", MemberParameters = new object[]
184 {
185 typeof(object),
187 }, ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
191 {
192 throw null;
193 }
194
195 [global::Cpp2ILInjected.Token(Token = "0x6004FB8")]
196 [global::Cpp2ILInjected.Address(RVA = "0x900A34", Offset = "0x900A34", Length = "0x64")]
197 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrame), Member = "<SetZoomInButton>b__26_0", ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
199 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mapMinimapScale", ReturnType = typeof(float))]
200 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMinimapScale", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
202 private void ZoomInButton()
203 {
204 throw null;
205 }
206
207 [global::Cpp2ILInjected.Token(Token = "0x6004FB9")]
208 [global::Cpp2ILInjected.Address(RVA = "0x900A98", Offset = "0x900A98", Length = "0xC8")]
209 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AssetInitializer), Member = "LoadMinimap", MemberParameters = new object[]
210 {
211 typeof(string),
217 }, ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrameTemplate), Member = "CreateInstance", MemberParameters = new object[] { typeof(AssetRequestMode) }, ReturnType = typeof(MinimapFrame))]
219 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
220 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Action), Member = ".ctor", MemberParameters = new object[]
221 {
222 typeof(object),
224 }, ReturnType = typeof(void))]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
228 {
229 throw null;
230 }
231
232 [global::Cpp2ILInjected.Token(Token = "0x6004FBA")]
233 [global::Cpp2ILInjected.Address(RVA = "0x900B60", Offset = "0x900B60", Length = "0x64")]
234 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrame), Member = "<SetZoomOutButton>b__28_0", ReturnType = typeof(void))]
235 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mapMinimapScale", ReturnType = typeof(float))]
237 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMinimapScale", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
238 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
239 private void ZoomOutButton()
240 {
241 throw null;
242 }
243
244 [global::Cpp2ILInjected.Token(Token = "0x6004FBB")]
245 [global::Cpp2ILInjected.Address(RVA = "0x900BC4", Offset = "0x900BC4", Length = "0x15C")]
246 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
247 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrameManager), Member = "DrawTo", MemberParameters = new object[]
248 {
251 }, ReturnType = typeof(void))]
252 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
253 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MinimapFrame), Member = "GetButtonUnderMouse", ReturnType = typeof(MinimapFrame.Button))]
254 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LocalPlayer", ReturnType = typeof(Player))]
255 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_IgnoreMouseInterface", ReturnType = typeof(bool))]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeft", ReturnType = typeof(bool))]
257 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeftRelease", ReturnType = typeof(bool))]
258 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
259 {
260 typeof(int),
261 typeof(int),
262 typeof(int),
263 typeof(int),
264 typeof(float),
265 typeof(float)
266 }, ReturnType = typeof(SoundEffectInstance))]
267 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
268 public void Update()
269 {
270 throw null;
271 }
272
273 [global::Cpp2ILInjected.Token(Token = "0x6004FBC")]
274 [global::Cpp2ILInjected.Address(RVA = "0x900E5C", Offset = "0x900E5C", Length = "0x150")]
275 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
276 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrameManager), Member = "DrawTo", MemberParameters = new object[]
277 {
280 }, ReturnType = typeof(void))]
281 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
282 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
283 {
284 typeof(int),
285 typeof(int),
286 typeof(int),
287 typeof(int)
288 }, ReturnType = typeof(void))]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mapMinimapAlpha", ReturnType = typeof(float))]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
291 {
292 typeof(Color),
293 typeof(float)
294 }, ReturnType = typeof(Color))]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
296 {
300 }, ReturnType = typeof(void))]
301 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
302 public void DrawBackground(SpriteBatch spriteBatch)
303 {
304 throw null;
305 }
306
307 [global::Cpp2ILInjected.Token(Token = "0x6004FBD")]
308 [global::Cpp2ILInjected.Address(RVA = "0x900FAC", Offset = "0x900FAC", Length = "0xF0")]
309 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrameManager), Member = "DrawForeground", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
310 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
311 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MinimapFrame), Member = "get_FramePosition", ReturnType = typeof(Vector2))]
312 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
313 {
317 }, ReturnType = typeof(void))]
318 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MinimapFrame.Button), Member = "Draw", MemberParameters = new object[]
319 {
322 }, ReturnType = typeof(void))]
323 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
324 public void DrawForeground(SpriteBatch spriteBatch)
325 {
326 throw null;
327 }
328
329 [global::Cpp2ILInjected.Token(Token = "0x6004FBE")]
330 [global::Cpp2ILInjected.Address(RVA = "0x900D20", Offset = "0x900D20", Length = "0x128")]
331 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
332 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrame), Member = "Update", ReturnType = typeof(void))]
333 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
334 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseX", ReturnType = typeof(int))]
335 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseY", ReturnType = typeof(int))]
336 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
337 {
338 typeof(float),
339 typeof(float)
340 }, ReturnType = typeof(void))]
341 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MinimapFrame), Member = "get_FramePosition", ReturnType = typeof(Vector2))]
342 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MinimapFrame.Button), Member = "IsTouchingPoint", MemberParameters = new object[]
343 {
346 }, ReturnType = typeof(bool))]
347 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
349 {
350 throw null;
351 }
352
353 [Conditional("DEBUG")]
354 [global::Cpp2ILInjected.Token(Token = "0x6004FBF")]
355 [global::Cpp2ILInjected.Address(RVA = "0x901340", Offset = "0x901340", Length = "0x4")]
356 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
357 private void ValidateState()
358 {
359 throw null;
360 }
361
363 [global::Cpp2ILInjected.Token(Token = "0x6004FC0")]
364 [global::Cpp2ILInjected.Address(RVA = "0x901344", Offset = "0x901344", Length = "0x4")]
365 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
366 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MinimapFrame), Member = "ResetZoom", ReturnType = typeof(void))]
368 {
369 throw null;
370 }
371
373 [global::Cpp2ILInjected.Token(Token = "0x6004FC1")]
374 [global::Cpp2ILInjected.Address(RVA = "0x901348", Offset = "0x901348", Length = "0x4")]
375 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MinimapFrame), Member = "ZoomInButton", ReturnType = typeof(void))]
378 {
379 throw null;
380 }
381
383 [global::Cpp2ILInjected.Token(Token = "0x6004FC2")]
384 [global::Cpp2ILInjected.Address(RVA = "0x90134C", Offset = "0x90134C", Length = "0x4")]
385 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
386 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MinimapFrame), Member = "ZoomOutButton", ReturnType = typeof(void))]
388 {
389 throw null;
390 }
391
392 [global::Cpp2ILInjected.Token(Token = "0x4008898")]
393 private const float DEFAULT_ZOOM = 1.05f;
394
395 [global::Cpp2ILInjected.Token(Token = "0x4008899")]
396 private const float ZOOM_OUT_MULTIPLIER = 0.975f;
397
398 [global::Cpp2ILInjected.Token(Token = "0x400889A")]
399 private const float ZOOM_IN_MULTIPLIER = 1.025f;
400
402 [global::Cpp2ILInjected.Token(Token = "0x400889B")]
403 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
404 private string <ConfigKey>k__BackingField;
405
407 [global::Cpp2ILInjected.Token(Token = "0x400889C")]
408 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
409 private string <NameKey>k__BackingField;
410
412 [global::Cpp2ILInjected.Token(Token = "0x400889D")]
413 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
414 private Vector2 <MinimapPosition>k__BackingField;
415
416 [global::Cpp2ILInjected.Token(Token = "0x400889E")]
417 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
419
420 [global::Cpp2ILInjected.Token(Token = "0x400889F")]
421 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
423
424 [global::Cpp2ILInjected.Token(Token = "0x40088A0")]
425 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
427
428 [global::Cpp2ILInjected.Token(Token = "0x40088A1")]
429 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
431
432 [global::Cpp2ILInjected.Token(Token = "0x40088A2")]
433 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
435
436 [global::Cpp2ILInjected.Token(Token = "0x2000A8B")]
437 private class Button
438 {
439 [global::Cpp2ILInjected.Token(Token = "0x170008B8")]
440 private Vector2 Size
441 {
442 [global::Cpp2ILInjected.Token(Token = "0x6004FC3")]
443 [global::Cpp2ILInjected.Address(RVA = "0x901350", Offset = "0x901350", Length = "0x98")]
444 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
445 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrame.Button), Member = "IsTouchingPoint", MemberParameters = new object[]
446 {
447 typeof(Vector2),
448 typeof(Vector2)
449 }, ReturnType = typeof(bool))]
450 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
451 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Width", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
452 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Height", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
453 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
454 {
455 typeof(float),
456 typeof(float)
457 }, ReturnType = typeof(void))]
458 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
459 get
460 {
461 throw null;
462 }
463 }
464
465 [global::Cpp2ILInjected.Token(Token = "0x6004FC4")]
466 [global::Cpp2ILInjected.Address(RVA = "0x9008D4", Offset = "0x9008D4", Length = "0x40")]
467 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
468 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
470 {
471 throw null;
472 }
473
474 [global::Cpp2ILInjected.Token(Token = "0x6004FC5")]
475 [global::Cpp2ILInjected.Address(RVA = "0x900E48", Offset = "0x900E48", Length = "0x14")]
476 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
477 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
478 public void Click()
479 {
480 throw null;
481 }
482
483 [global::Cpp2ILInjected.Token(Token = "0x6004FC6")]
484 [global::Cpp2ILInjected.Address(RVA = "0x90109C", Offset = "0x90109C", Length = "0x104")]
485 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrame), Member = "DrawForeground", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
486 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
487 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
488 {
491 }, ReturnType = typeof(Vector2))]
492 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
493 {
497 }, ReturnType = typeof(void))]
498 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
499 public void Draw(SpriteBatch spriteBatch, Vector2 parentPosition)
500 {
501 throw null;
502 }
503
504 [global::Cpp2ILInjected.Token(Token = "0x6004FC7")]
505 [global::Cpp2ILInjected.Address(RVA = "0x9011A0", Offset = "0x9011A0", Length = "0x1A0")]
506 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
507 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MinimapFrame), Member = "GetButtonUnderMouse", ReturnType = typeof(MinimapFrame.Button))]
508 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
509 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
510 {
513 }, ReturnType = typeof(Vector2))]
514 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MinimapFrame.Button), Member = "get_Size", ReturnType = typeof(Vector2))]
515 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
516 {
518 typeof(float)
519 }, ReturnType = typeof(Vector2))]
520 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
521 {
522 typeof(float),
523 typeof(float)
524 }, ReturnType = typeof(void))]
525 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Max", MemberParameters = new object[]
526 {
529 }, ReturnType = typeof(Vector2))]
530 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
531 {
534 }, ReturnType = typeof(Vector2))]
535 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
537 {
538 throw null;
539 }
540
541 [global::Cpp2ILInjected.Token(Token = "0x40088A3")]
542 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
543 public bool IsHighlighted;
544
545 [global::Cpp2ILInjected.Token(Token = "0x40088A4")]
546 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
548
549 [global::Cpp2ILInjected.Token(Token = "0x40088A5")]
550 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
552
553 [global::Cpp2ILInjected.Token(Token = "0x40088A6")]
554 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
555 private readonly Action _onMouseDown;
556 }
557 }
558}
class f__AnonymousType0<< Count > j__TPar
Button(Asset< Texture2D > hoverTexture, Vector2 position, Action mouseDownCallback)
void Draw(SpriteBatch spriteBatch, Vector2 parentPosition)
bool IsTouchingPoint(Vector2 testPoint, Vector2 parentPosition)
void SetZoomInButton(Asset< Texture2D > hoverTexture, Vector2 position)
MinimapFrame(Asset< Texture2D > frameTexture, Vector2 frameOffset)
void DrawBackground(SpriteBatch spriteBatch)
void SetZoomOutButton(Asset< Texture2D > hoverTexture, Vector2 position)
readonly Asset< Texture2D > _frameTexture
void SetResetButton(Asset< Texture2D > hoverTexture, Vector2 position)
Vector2< MinimapPosition > k__BackingField
void DrawForeground(SpriteBatch spriteBatch)