terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
GUIDPad.cs
Go to the documentation of this file.
1using System;
5
6// Token: 0x02000108 RID: 264
7public static class GUIDPad
8{
9 // Token: 0x060006B6 RID: 1718 RVA: 0x00016054 File Offset: 0x00014254
10 public static void Draw(DPad_Layout layout, Texture2D arrow)
11 {
12 ControlAnchor.ControlId anchorControl = layout.AnchorControl;
13 Vector2 centreLocation = layout.CentreLocation;
14 float x = layout.CentreLocation.X;
15 float y = layout.CentreLocation.Y;
16 if (!true)
17 {
18 }
19 int width = arrow.Width;
20 int height = arrow.Height;
21 float scale = layout.Scale;
22 if (!true)
23 {
24 }
25 if (!true)
26 {
27 }
28 float x2 = layout.RightOffset.X;
29 float y2 = layout.RightOffset.Y;
30 Color color = layout.Color;
31 float scale2 = layout.Scale;
32 float x3 = layout.BottomOffset.X;
33 float y3 = layout.BottomOffset.Y;
34 Color color2 = layout.Color;
35 float scale3 = layout.Scale;
36 float x4 = layout.LeftOffset.X;
37 float y4 = layout.LeftOffset.Y;
38 Color color3 = layout.Color;
39 float scale4 = layout.Scale;
40 float x5 = layout.TopOffset.X;
41 float y5 = layout.TopOffset.Y;
42 Color color4 = layout.Color;
43 float scale5 = layout.Scale;
44 float x6 = layout.PickSize.X;
45 float y6 = layout.PickSize.Y;
46 float x7 = layout.PickSize.X;
47 float y7 = layout.PickSize.Y;
48 float x8 = layout.DeadZone.X;
49 float y8 = layout.DeadZone.Y;
50 float x9 = layout.PickSize.X;
51 float y9 = layout.PickSize.Y;
52 float x10 = layout.DeadZone.X;
53 float y10 = layout.DeadZone.Y;
54 float x11 = layout.PickSize.X;
55 float y11 = layout.PickSize.Y;
56 }
57
58 // Token: 0x060006B7 RID: 1719 RVA: 0x0001621C File Offset: 0x0001441C
59 public static bool IsCursorOver(Vector2 position, DPad_Layout layout, [Out] bool left, [Out] bool right, [Out] bool up, [Out] bool down)
60 {
61 if (!true)
62 {
63 }
64 position.X = (float)1;
65 return true;
66 }
67}
class f__AnonymousType0<< Count > j__TPar
static bool IsCursorOver(Vector2 position, DPad_Layout layout, [Out] bool left, [Out] bool right, [Out] bool up, [Out] bool down)
Definition GUIDPad.cs:59
static void Draw(DPad_Layout layout, Texture2D arrow)
Definition GUIDPad.cs:10