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
VirtualControlsHardwareConfigurationMapping_Layout.cs
Go to the documentation of this file.
1
using
System
;
2
using
Microsoft.Xna.Framework
;
3
4
// Token: 0x02000249 RID: 585
5
[
Serializable
]
6
public
class
VirtualControlsHardwareConfigurationMapping_Layout
7
{
8
// Token: 0x06000D35 RID: 3381 RVA: 0x0003F158 File Offset: 0x0003D358
9
public
void
Copy
(
VirtualControlsHardwareConfigurationMapping_Layout
other
)
10
{
11
string
slotId
=
other
.SlotId;
12
this.SlotId
=
slotId
;
13
VirtualControlsSlotTypeMapping_Layout
style =
other
.Style;
14
string
controlTypeId
= style.
ControlTypeId
;
15
VirtualControlsSlotTypeMapping_Layout.SlotType
controlType
= style.
ControlType
;
16
VirtualControlsHardwareConfigurationMapping_Layout.ContolType
defaultControl
=
other
.DefaultControl;
17
this.DefaultControl
=
defaultControl
;
18
LayoutCalculator.AnchorType
anchor =
other
.Anchor;
19
this.Anchor
= anchor;
20
}
21
22
// Token: 0x06000D36 RID: 3382 RVA: 0x0003F1A8 File Offset: 0x0003D3A8
23
public
bool
IsSame
(
VirtualControlsHardwareConfigurationMapping_Layout
other
)
24
{
25
string
slotId
= this.
SlotId
;
26
string
slotId2
= other.
SlotId
;
27
bool
flag =
slotId
!=
slotId2
;
28
VirtualControlsSlotTypeMapping_Layout
style = this.
Style
;
29
VirtualControlsSlotTypeMapping_Layout
style2
=
other
.Style;
30
string
controlTypeId
= style.
ControlTypeId
;
31
string
controlTypeId2
=
style2
.ControlTypeId;
32
bool
flag2
=
controlTypeId
!=
controlTypeId2
;
33
VirtualControlsSlotTypeMapping_Layout
style3
= this.
Style
;
34
VirtualControlsSlotTypeMapping_Layout
style4
=
other
.Style;
35
VirtualControlsSlotTypeMapping_Layout.SlotType
controlType
=
style3
.
ControlType
;
36
VirtualControlsSlotTypeMapping_Layout.SlotType
controlType2
=
style4
.
ControlType
;
37
VirtualControlsHardwareConfigurationMapping_Layout.ContolType
defaultControl
= this.
DefaultControl
;
38
VirtualControlsHardwareConfigurationMapping_Layout.ContolType
defaultControl2
=
other
.
DefaultControl
;
39
ControlAnchor.ControlId
anchorControl
= this.
AnchorControl
;
40
ControlAnchor.ControlId
anchorControl2
=
other
.AnchorControl;
41
LayoutCalculator.AnchorType
anchor = this.
Anchor
;
42
LayoutCalculator.AnchorType
anchor2
=
other
.Anchor;
43
float
x = this.
Location
.
X
;
44
float
y = this.
Location
.
Y
;
45
float
x2
= other.
Location
.
X
;
46
float
y2
=
other
.Location.Y;
47
bool
flag3
;
48
return
flag3
;
49
}
50
51
// Token: 0x06000D37 RID: 3383 RVA: 0x0003F284 File Offset: 0x0003D484
52
public
VirtualControlsHardwareConfigurationMapping_Layout
()
53
{
54
if
(!
true
)
55
{
56
}
57
base
..ctor();
58
}
59
60
// Token: 0x04001824 RID: 6180
61
public
string
SlotId
;
62
63
// Token: 0x04001825 RID: 6181
64
public
VirtualControlsSlotTypeMapping_Layout
Style
;
65
66
// Token: 0x04001826 RID: 6182
67
public
VirtualControlsHardwareConfigurationMapping_Layout.ContolType
DefaultControl
;
68
69
// Token: 0x04001827 RID: 6183
70
public
ControlAnchor.ControlId
AnchorControl
;
71
72
// Token: 0x04001828 RID: 6184
73
public
LayoutCalculator.AnchorType
Anchor
;
74
75
// Token: 0x04001829 RID: 6185
76
public
Vector2
Location
;
77
78
// Token: 0x0200024A RID: 586
79
public
enum
ContolType
80
{
81
// Token: 0x0400182B RID: 6187
82
AutoFire
,
83
// Token: 0x0400182C RID: 6188
84
SmartCursor
,
85
// Token: 0x0400182D RID: 6189
86
CombatTargetting
,
87
// Token: 0x0400182E RID: 6190
88
Jump
,
89
// Token: 0x0400182F RID: 6191
90
Heal
,
91
// Token: 0x04001830 RID: 6192
92
Mana
,
93
// Token: 0x04001831 RID: 6193
94
Buff
,
95
// Token: 0x04001832 RID: 6194
96
Mount
,
97
// Token: 0x04001833 RID: 6195
98
Interact
,
99
// Token: 0x04001834 RID: 6196
100
Fire
,
101
// Token: 0x04001835 RID: 6197
102
GrappleAxis
,
103
// Token: 0x04001836 RID: 6198
104
AutoSelect
,
105
// Token: 0x04001837 RID: 6199
106
ZoomIn
,
107
// Token: 0x04001838 RID: 6200
108
ZoomOut
,
109
// Token: 0x04001839 RID: 6201
110
Move
,
111
// Token: 0x0400183A RID: 6202
112
Aim
,
113
// Token: 0x0400183B RID: 6203
114
GrappleFire
,
115
// Token: 0x0400183C RID: 6204
116
ProfileSwitch
,
117
// Token: 0x0400183D RID: 6205
118
InventoryToggle
,
119
// Token: 0x0400183E RID: 6206
120
Settings
,
121
// Token: 0x0400183F RID: 6207
122
Loadout1
,
123
// Token: 0x04001840 RID: 6208
124
Loadout2
,
125
// Token: 0x04001841 RID: 6209
126
Loadout3
,
127
// Token: 0x04001842 RID: 6210
128
LoadoutCycle
,
129
// Token: 0x04001843 RID: 6211
130
Count
131
}
132
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
ControlAnchor.ControlId
ControlId
Definition
ControlAnchor.cs:480
LayoutCalculator.AnchorType
AnchorType
Definition
LayoutCalculator.cs:373
VirtualControlsHardwareConfigurationMapping_Layout.Anchor
LayoutCalculator.AnchorType Anchor
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:73
VirtualControlsHardwareConfigurationMapping_Layout.Location
Vector2 Location
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:76
VirtualControlsHardwareConfigurationMapping_Layout.SlotId
string SlotId
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:61
VirtualControlsHardwareConfigurationMapping_Layout.Style
VirtualControlsSlotTypeMapping_Layout Style
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:64
VirtualControlsHardwareConfigurationMapping_Layout.VirtualControlsHardwareConfigurationMapping_Layout
VirtualControlsHardwareConfigurationMapping_Layout()
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:52
VirtualControlsHardwareConfigurationMapping_Layout.Copy
void Copy(VirtualControlsHardwareConfigurationMapping_Layout other)
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:9
VirtualControlsHardwareConfigurationMapping_Layout.AnchorControl
ControlAnchor.ControlId AnchorControl
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:70
VirtualControlsHardwareConfigurationMapping_Layout.DefaultControl
VirtualControlsHardwareConfigurationMapping_Layout.ContolType DefaultControl
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:67
VirtualControlsHardwareConfigurationMapping_Layout.ContolType
ContolType
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:80
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.LoadoutCycle
@ LoadoutCycle
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Mana
@ Mana
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Jump
@ Jump
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.AutoSelect
@ AutoSelect
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Loadout1
@ Loadout1
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.ProfileSwitch
@ ProfileSwitch
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.ZoomOut
@ ZoomOut
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.AutoFire
@ AutoFire
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Buff
@ Buff
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.ZoomIn
@ ZoomIn
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.GrappleAxis
@ GrappleAxis
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Move
@ Move
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Loadout3
@ Loadout3
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.CombatTargetting
@ CombatTargetting
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.SmartCursor
@ SmartCursor
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Loadout2
@ Loadout2
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Aim
@ Aim
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Fire
@ Fire
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.InventoryToggle
@ InventoryToggle
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Count
@ Count
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Mount
@ Mount
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.GrappleFire
@ GrappleFire
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Interact
@ Interact
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Heal
@ Heal
VirtualControlsHardwareConfigurationMapping_Layout.ContolType.Settings
@ Settings
VirtualControlsHardwareConfigurationMapping_Layout.IsSame
bool IsSame(VirtualControlsHardwareConfigurationMapping_Layout other)
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:23
VirtualControlsHardwareConfigurationMapping_Layout
Definition
VirtualControlsHardwareConfigurationMapping_Layout.cs:7
VirtualControlsSlotTypeMapping_Layout.ControlTypeId
string ControlTypeId
Definition
VirtualControlsSlotTypeMapping_Layout.cs:62
VirtualControlsSlotTypeMapping_Layout.SlotType
SlotType
Definition
VirtualControlsSlotTypeMapping_Layout.cs:79
VirtualControlsSlotTypeMapping_Layout.ControlType
VirtualControlsSlotTypeMapping_Layout.SlotType ControlType
Definition
VirtualControlsSlotTypeMapping_Layout.cs:66
VirtualControlsSlotTypeMapping_Layout
Definition
VirtualControlsSlotTypeMapping_Layout.cs:8
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System.Reflection.TypeAttributes.Serializable
@ Serializable
System
Definition
__ComObject.cs:4
Microsoft.Xna.Framework.Vector2.X
float X
Definition
Vector2.cs:698
Microsoft.Xna.Framework.Vector2.Y
float Y
Definition
Vector2.cs:701
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
source
VirtualControlsHardwareConfigurationMapping_Layout.cs
Generated by
1.10.0