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
ControlsButtonTagHandler.cs
Go to the documentation of this file.
1using System;
2using System.Text;
3using Controller;
9
10[global::Cpp2ILInjected.Token(Token = "0x20000F8")]
12{
13 [global::Cpp2ILInjected.Token(Token = "0x6000680")]
14 [global::Cpp2ILInjected.Address(RVA = "0xD18C4C", Offset = "0xD18C4C", Length = "0x16C")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIString), Member = "ApplyMultiLineAlignment", MemberParameters = new object[]
17 {
19 typeof(string),
20 typeof(ref int)
21 }, ReturnType = typeof(string))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUINPCDialogue), Member = "UpdateText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteFont), Member = "MeasureMaxString", MemberParameters = new object[]
24 {
26 typeof(ref int),
27 typeof(float),
28 typeof(float)
29 }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[]
31 {
34 }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont.CharacterSource), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
38 public static bool MeasureInline(ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
39 {
40 throw null;
41 }
42
43 [global::Cpp2ILInjected.Token(Token = "0x6000681")]
44 [global::Cpp2ILInjected.Address(RVA = "0xD18DB8", Offset = "0xD18DB8", Length = "0x21C")]
45 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "PrintInlineMapping", MemberParameters = new object[]
47 {
51 typeof(float),
53 typeof(int),
54 typeof(ref int),
56 }, ReturnType = typeof(bool))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "MeasureInlineMapping", MemberParameters = new object[]
58 {
60 typeof(int),
61 typeof(ref int),
63 }, ReturnType = typeof(bool))]
64 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton), Member = "get_HasMapping", ReturnType = typeof(bool))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton), Member = "get_FirstEntry", ReturnType = typeof(ControllerActionButton.Entry))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControlsBanner), Member = "FromButton", MemberParameters = new object[] { typeof(Buttons) }, ReturnType = typeof(GUIControllerInputButton.LinkedControlType))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsButtonTagHandler.ControlsButtonSnippet), Member = "Draw", MemberParameters = new object[]
69 {
71 typeof(bool),
76 typeof(float)
77 }, ReturnType = typeof(bool))]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControlsBanner), Member = "FromAxis", MemberParameters = new object[]
79 {
80 typeof(Axis),
81 typeof(float)
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsAxisTagHandler.ControlsAxisSnippet), Member = "Draw", MemberParameters = new object[]
84 {
86 typeof(bool),
91 typeof(float)
92 }, ReturnType = typeof(bool))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
94 private static int DrawButtonControl(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ControllerActionButton action, bool mesaureOnly = false)
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x6000682")]
100 [global::Cpp2ILInjected.Address(RVA = "0xD1916C", Offset = "0xD1916C", Length = "0x1E8")]
101 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "PrintInlineMapping", MemberParameters = new object[]
103 {
106 typeof(Color),
107 typeof(float),
109 typeof(int),
110 typeof(ref int),
112 }, ReturnType = typeof(bool))]
113 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "MeasureInlineMapping", MemberParameters = new object[]
114 {
116 typeof(int),
117 typeof(ref int),
119 }, ReturnType = typeof(bool))]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionVector), Member = "get_HasMapping", ReturnType = typeof(bool))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "get_FirstEntry", ReturnType = typeof(ControllerActionAxis.Entry))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControlsBanner), Member = "FromButton", MemberParameters = new object[] { typeof(Buttons) }, ReturnType = typeof(GUIControllerInputButton.LinkedControlType))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsButtonTagHandler.ControlsButtonSnippet), Member = "Draw", MemberParameters = new object[]
125 {
127 typeof(bool),
131 typeof(Color),
132 typeof(float)
133 }, ReturnType = typeof(bool))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControlsBanner), Member = "FromAxis", MemberParameters = new object[]
135 {
136 typeof(Axis),
137 typeof(float)
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsAxisTagHandler.ControlsAxisSnippet), Member = "Draw", MemberParameters = new object[]
140 {
142 typeof(bool),
146 typeof(Color),
147 typeof(float)
148 }, ReturnType = typeof(bool))]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
150 private static int DrawAxisControl(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ControllerActionVector action, bool mesasure = false)
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x6000683")]
156 [global::Cpp2ILInjected.Address(RVA = "0xD19354", Offset = "0xD19354", Length = "0x400")]
157 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
159 {
161 typeof(string),
164 }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
166 {
171 }, ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
173 {
175 typeof(string),
177 typeof(Color),
178 typeof(float),
182 typeof(float)
183 }, ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawStringMultiLineRight", MemberParameters = new object[]
185 {
187 typeof(string),
189 typeof(Color),
190 typeof(float),
194 typeof(float)
195 }, ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawStringMultiLineCentre", MemberParameters = new object[]
197 {
199 typeof(string),
201 typeof(Color),
202 typeof(float),
206 typeof(float)
207 }, ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
209 {
213 typeof(Color),
214 typeof(float),
218 typeof(float)
219 }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
221 {
223 typeof(string),
224 typeof(int),
225 typeof(int),
227 typeof(Color),
228 typeof(float),
231 typeof(Vector2[])
232 }, ReturnType = typeof(void))]
233 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
234 {
237 typeof(int),
238 typeof(int),
240 typeof(Color),
241 typeof(float),
244 typeof(Vector2[])
245 }, ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
247 {
249 typeof(string),
250 typeof(int),
251 typeof(int),
253 typeof(Color),
254 typeof(float),
258 typeof(float)
259 }, ReturnType = typeof(void))]
260 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
261 {
264 typeof(int),
265 typeof(int),
267 typeof(Color),
268 typeof(float),
272 typeof(float)
273 }, ReturnType = typeof(void))]
274 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 13)]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont.CharacterSource), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
276 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsButtonTagHandler), Member = "DrawAxisControl", MemberParameters = new object[]
277 {
280 typeof(Color),
281 typeof(float),
283 typeof(bool)
284 }, ReturnType = typeof(int))]
285 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsButtonTagHandler), Member = "DrawButtonControl", MemberParameters = new object[]
286 {
289 typeof(Color),
290 typeof(float),
292 typeof(bool)
293 }, ReturnType = typeof(int))]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
296 {
298 typeof(float)
299 }, ReturnType = typeof(Vector2))]
300 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
301 public static bool PrintInlineMapping(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
302 {
303 throw null;
304 }
305
306 [global::Cpp2ILInjected.Token(Token = "0x6000684")]
307 [global::Cpp2ILInjected.Address(RVA = "0xD19754", Offset = "0xD19754", Length = "0x478")]
308 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
309 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIString), Member = "ApplyMultiLineAlignment", MemberParameters = new object[]
310 {
312 typeof(string),
313 typeof(ref int)
314 }, ReturnType = typeof(string))]
315 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUINPCDialogue), Member = "UpdateText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
316 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteFont), Member = "MeasureMaxString", MemberParameters = new object[]
317 {
319 typeof(ref int),
320 typeof(float),
321 typeof(float)
322 }, ReturnType = typeof(void))]
323 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[]
324 {
327 }, ReturnType = typeof(void))]
328 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
329 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont.CharacterSource), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
330 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsButtonTagHandler), Member = "DrawButtonControl", MemberParameters = new object[]
331 {
334 typeof(Color),
335 typeof(float),
337 typeof(bool)
338 }, ReturnType = typeof(int))]
339 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
340 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
341 {
343 typeof(float)
344 }, ReturnType = typeof(Vector2))]
345 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsButtonTagHandler), Member = "DrawAxisControl", MemberParameters = new object[]
346 {
349 typeof(Color),
350 typeof(float),
352 typeof(bool)
353 }, ReturnType = typeof(int))]
354 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
355 public static bool MeasureInlineMapping(ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
356 {
357 throw null;
358 }
359
360 [global::Cpp2ILInjected.Token(Token = "0x6000685")]
361 [global::Cpp2ILInjected.Address(RVA = "0xD19BCC", Offset = "0xD19BCC", Length = "0x1C8")]
362 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
363 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
364 {
366 typeof(string),
369 }, ReturnType = typeof(void))]
370 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
371 {
376 }, ReturnType = typeof(void))]
377 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
378 {
380 typeof(string),
382 typeof(Color),
383 typeof(float),
387 typeof(float)
388 }, ReturnType = typeof(void))]
389 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawStringMultiLineRight", MemberParameters = new object[]
390 {
392 typeof(string),
394 typeof(Color),
395 typeof(float),
399 typeof(float)
400 }, ReturnType = typeof(void))]
401 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawStringMultiLineCentre", MemberParameters = new object[]
402 {
404 typeof(string),
406 typeof(Color),
407 typeof(float),
411 typeof(float)
412 }, ReturnType = typeof(void))]
413 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
414 {
418 typeof(Color),
419 typeof(float),
423 typeof(float)
424 }, ReturnType = typeof(void))]
425 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
426 {
428 typeof(string),
429 typeof(int),
430 typeof(int),
432 typeof(Color),
433 typeof(float),
436 typeof(Vector2[])
437 }, ReturnType = typeof(void))]
438 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
439 {
442 typeof(int),
443 typeof(int),
445 typeof(Color),
446 typeof(float),
449 typeof(Vector2[])
450 }, ReturnType = typeof(void))]
451 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
452 {
454 typeof(string),
455 typeof(int),
456 typeof(int),
458 typeof(Color),
459 typeof(float),
463 typeof(float)
464 }, ReturnType = typeof(void))]
465 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
466 {
469 typeof(int),
470 typeof(int),
472 typeof(Color),
473 typeof(float),
477 typeof(float)
478 }, ReturnType = typeof(void))]
479 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
480 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont.CharacterSource), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
481 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsButtonTagHandler.ControlsButtonSnippet), Member = "Draw", MemberParameters = new object[]
482 {
484 typeof(bool),
488 typeof(Color),
489 typeof(float)
490 }, ReturnType = typeof(bool))]
491 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
492 public static bool PrintInline(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
493 {
494 throw null;
495 }
496
497 [global::Cpp2ILInjected.Token(Token = "0x6000686")]
498 [global::Cpp2ILInjected.Address(RVA = "0xD19D94", Offset = "0xD19D94", Length = "0x10C")]
499 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
500 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
501 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "TryParse", MemberParameters = new object[]
502 {
503 typeof(string),
504 typeof(ref int)
505 }, ReturnType = typeof(bool))]
506 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsButtonTagHandler.ControlsButtonSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(GUIControllerInputButton.LinkedControlType) }, ReturnType = typeof(void))]
507 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
508 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
509 {
510 typeof(string),
511 typeof(string),
512 typeof(string)
513 }, ReturnType = typeof(string))]
514 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
515 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
516 public TextSnippet Parse(string text, Color baseColor = default(Color), string options = null)
517 {
518 throw null;
519 }
520
521 [global::Cpp2ILInjected.Token(Token = "0x6000687")]
522 [global::Cpp2ILInjected.Address(RVA = "0xD19F34", Offset = "0xD19F34", Length = "0x8")]
523 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
524 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
526 {
527 throw null;
528 }
529
530 [global::Cpp2ILInjected.Token(Token = "0x20000F9")]
532 {
533 [global::Cpp2ILInjected.Token(Token = "0x6000688")]
534 [global::Cpp2ILInjected.Address(RVA = "0xD19EA0", Offset = "0xD19EA0", Length = "0x94")]
535 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "Parse", MemberParameters = new object[]
536 {
537 typeof(string),
538 typeof(Color),
539 typeof(string)
540 }, ReturnType = typeof(TextSnippet))]
541 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
542 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
543 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
545 {
546 throw null;
547 }
548
549 [global::Cpp2ILInjected.Token(Token = "0x6000689")]
550 [global::Cpp2ILInjected.Address(RVA = "0xD18FD4", Offset = "0xD18FD4", Length = "0x198")]
551 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
552 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler.ControlsButtonSnippet), Member = "UniqueDraw", MemberParameters = new object[]
553 {
554 typeof(bool),
555 typeof(ref Vector2),
556 typeof(SpriteBatch),
557 typeof(Vector2),
558 typeof(Color),
559 typeof(float)
560 }, ReturnType = typeof(bool))]
561 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "DrawButtonControl", MemberParameters = new object[]
562 {
565 typeof(Color),
566 typeof(float),
568 typeof(bool)
569 }, ReturnType = typeof(int))]
570 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "DrawAxisControl", MemberParameters = new object[]
571 {
574 typeof(Color),
575 typeof(float),
577 typeof(bool)
578 }, ReturnType = typeof(int))]
579 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "PrintInline", MemberParameters = new object[]
580 {
583 typeof(Color),
584 typeof(float),
586 typeof(int),
587 typeof(ref int),
589 }, ReturnType = typeof(bool))]
590 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
591 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerInputButton), Member = "GetButtonTexureInformation", MemberParameters = new object[]
592 {
595 typeof(int)
596 }, ReturnType = typeof(Texture2D))]
597 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
598 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
599 {
603 typeof(Color),
604 typeof(float),
606 typeof(float),
608 typeof(float)
609 }, ReturnType = typeof(void))]
610 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
611 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
612 public static bool Draw(GUIControllerInputButton.LinkedControlType control, bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position = default(Vector2), Color color = default(Color), float scale = 1f)
613 {
614 throw null;
615 }
616
617 [global::Cpp2ILInjected.Token(Token = "0x600068A")]
618 [global::Cpp2ILInjected.Address(RVA = "0xD1A06C", Offset = "0xD1A06C", Length = "0x20")]
619 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
620 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsButtonTagHandler.ControlsButtonSnippet), Member = "Draw", MemberParameters = new object[]
621 {
622 typeof(GUIControllerInputButton.LinkedControlType),
623 typeof(bool),
624 typeof(ref Vector2),
625 typeof(SpriteBatch),
626 typeof(Vector2),
627 typeof(Color),
628 typeof(float)
629 }, ReturnType = typeof(bool))]
630 public override bool UniqueDraw(bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position = default(Vector2), Color color = default(Color), float scale = 1f)
631 {
632 throw null;
633 }
634
635 [global::Cpp2ILInjected.Token(Token = "0x600068B")]
636 [global::Cpp2ILInjected.Address(RVA = "0xD1A08C", Offset = "0xD1A08C", Length = "0x8")]
637 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
638 public override float GetStringLength(SpriteFont font)
639 {
640 throw null;
641 }
642
643 [global::Cpp2ILInjected.Token(Token = "0x40004F5")]
644 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
646 }
647
648 [global::Cpp2ILInjected.Token(Token = "0x20000FA")]
649 public enum MappingType
650 {
651 [global::Cpp2ILInjected.Token(Token = "0x40004F7")]
652 Movement,
653 [global::Cpp2ILInjected.Token(Token = "0x40004F8")]
654 Aim,
655 [global::Cpp2ILInjected.Token(Token = "0x40004F9")]
656 Fire,
657 [global::Cpp2ILInjected.Token(Token = "0x40004FA")]
658 Jump,
659 [global::Cpp2ILInjected.Token(Token = "0x40004FB")]
660 Interact,
661 [global::Cpp2ILInjected.Token(Token = "0x40004FC")]
663 [global::Cpp2ILInjected.Token(Token = "0x40004FD")]
665 [global::Cpp2ILInjected.Token(Token = "0x40004FE")]
667 [global::Cpp2ILInjected.Token(Token = "0x40004FF")]
669 [global::Cpp2ILInjected.Token(Token = "0x4000500")]
671 [global::Cpp2ILInjected.Token(Token = "0x4000501")]
673 [global::Cpp2ILInjected.Token(Token = "0x4000502")]
675 [global::Cpp2ILInjected.Token(Token = "0x4000503")]
676 CraftItem,
677 [global::Cpp2ILInjected.Token(Token = "0x4000504")]
679 [global::Cpp2ILInjected.Token(Token = "0x4000505")]
680 EquipItem,
681 [global::Cpp2ILInjected.Token(Token = "0x4000506")]
682 Settings,
683 [global::Cpp2ILInjected.Token(Token = "0x4000507")]
685 [global::Cpp2ILInjected.Token(Token = "0x4000508")]
686 Count
687 }
688}
class f__AnonymousType0<< Count > j__TPar
override bool UniqueDraw(bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position=default(Vector2), Color color=default(Color), float scale=1f)
static bool Draw(GUIControllerInputButton.LinkedControlType control, bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position=default(Vector2), Color color=default(Color), float scale=1f)
ControlsButtonSnippet(GUIControllerInputButton.LinkedControlType control)
GUIControllerInputButton.LinkedControlType _control
static bool PrintInline(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
static bool PrintInlineMapping(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
static bool MeasureInlineMapping(ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
static bool MeasureInline(ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
TextSnippet Parse(string text, Color baseColor=default(Color), string options=null)
static int DrawButtonControl(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ControllerActionButton action, bool mesaureOnly=false)
static int DrawAxisControl(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ControllerActionVector action, bool mesasure=false)