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.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
Microsoft.Xna.Framework
;
4
using
Microsoft.Xna.Framework.Graphics
;
5
6
// Token: 0x02000108 RID: 264
7
public
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
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
ControlAnchor.ControlId
ControlId
Definition
ControlAnchor.cs:480
DPad_Layout
Definition
DPad_Layout.cs:8
GUIDPad.IsCursorOver
static bool IsCursorOver(Vector2 position, DPad_Layout layout, [Out] bool left, [Out] bool right, [Out] bool up, [Out] bool down)
Definition
GUIDPad.cs:59
GUIDPad.Draw
static void Draw(DPad_Layout layout, Texture2D arrow)
Definition
GUIDPad.cs:10
GUIDPad
Definition
GUIDPad.cs:8
Microsoft.Xna.Framework.Graphics.Texture2D.Height
readonly int Height
Definition
Texture2D.cs:449
Microsoft.Xna.Framework.Graphics.Texture2D.Width
readonly int Width
Definition
Texture2D.cs:446
Microsoft.Xna.Framework.Graphics.Texture2D
Definition
Texture2D.cs:10
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System.Runtime.InteropServices
Definition
_Activator.cs:4
System
Definition
__ComObject.cs:4
Microsoft.Xna.Framework.Graphics.Color
Definition
Color.cs:12
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
source
GUIDPad.cs
Generated by
1.10.0