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
AppleMFiUnityProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
InControl.UnityDeviceProfiles
4
{
5
// Token: 0x020000E1 RID: 225
6
[
UnityInputDeviceProfile
]
7
[
Preserve
]
8
public
class
AppleMFiUnityProfile
:
InputDeviceProfile
9
{
10
// Token: 0x0600064F RID: 1615 RVA: 0x0001AF70 File Offset: 0x00019170
11
public
override
void
Define
()
12
{
13
base
.Define();
14
this.deviceName
=
"Apple MFi Controller"
;
15
this.deviceClass.value__
= (int)4
E
-45f;
16
this.deviceNotes
=
"Apple MFi Controller on iOS"
;
17
if
((
"iPhone"
==
null
||
"iPhone"
!=
null
) && (
"iPad"
==
null
||
"iPad"
!=
null
))
18
{
19
base.LowerDeadZone
= 4
E
-45f;
20
base.UpperDeadZone
= 4
E
-45f;
21
if
(
"A"
==
null
)
22
{
23
}
24
InputControlSource
inputControlSource
=
InputDeviceProfile
.
Button
(14);
25
InputControlSource
inputControlSource2
=
InputDeviceProfile
.
Button
(13);
26
InputControlSource
inputControlSource3
=
InputDeviceProfile
.
Button
(15);
27
InputControlSource
inputControlSource4
=
InputDeviceProfile
.
Button
(12);
28
InputControlSource
inputControlSource5
=
InputDeviceProfile
.
Button
(4);
29
InputControlSource
inputControlSource6
=
InputDeviceProfile
.
Button
(
int
.MinValue);
30
if
(-2147483648 == 0 || -2147483648 != 0)
31
{
32
InputControlSource
inputControlSource7
=
InputDeviceProfile
.
Button
(7);
33
if
(-2147483648 == 0 || -2147483648 != 0)
34
{
35
InputControlSource
inputControlSource8
=
InputDeviceProfile
.
Button
(5);
36
if
(-2147483648 == 0 || -2147483648 != 0)
37
{
38
InputControlSource
inputControlSource9
=
InputDeviceProfile
.
Button
(8);
39
if
(-2147483648 == 0 || -2147483648 != 0)
40
{
41
InputControlSource
inputControlSource10
=
InputDeviceProfile
.
Button
(9);
42
if
(-2147483648 == 0 || -2147483648 != 0)
43
{
44
InputControlSource
inputControlSource11
=
InputDeviceProfile
.
Button
(0);
45
if
(-2147483648 == 0 || -2147483648 != 0)
46
{
47
InputControlMapping
inputControlMapping
=
InputDeviceProfile
.
LeftStickLeftMapping
(0);
48
if
(
inputControlMapping
==
null
||
inputControlMapping
!=
null
)
49
{
50
InputControlMapping
inputControlMapping2
=
InputDeviceProfile
.
LeftStickRightMapping
(0);
51
if
(
inputControlMapping2
==
null
||
inputControlMapping2
!=
null
)
52
{
53
InputControlMapping
inputControlMapping3
=
InputDeviceProfile
.
LeftStickUpMapping
(1);
54
if
(
inputControlMapping3
==
null
||
inputControlMapping3
!=
null
)
55
{
56
InputControlMapping
inputControlMapping4
=
InputDeviceProfile
.
LeftStickDownMapping
(1);
57
if
(
inputControlMapping4
==
null
||
inputControlMapping4
!=
null
)
58
{
59
InputControlMapping
inputControlMapping5
=
InputDeviceProfile
.
RightStickLeftMapping
(2);
60
if
(
inputControlMapping5
==
null
||
inputControlMapping5
!=
null
)
61
{
62
InputControlMapping
inputControlMapping6
=
InputDeviceProfile
.
RightStickRightMapping
(2);
63
if
(
inputControlMapping6
==
null
||
inputControlMapping6
!=
null
)
64
{
65
InputControlMapping
inputControlMapping7
=
InputDeviceProfile
.
RightStickUpMapping
(3);
66
if
(
inputControlMapping7
==
null
||
inputControlMapping7
!=
null
)
67
{
68
InputControlMapping
inputControlMapping8
=
InputDeviceProfile
.
RightStickDownMapping
(3);
69
if
(
inputControlMapping8
==
null
||
inputControlMapping8
!=
null
)
70
{
71
InputControlSource
inputControlSource12
=
InputDeviceProfile
.
Analog
(10);
72
if
(-2147483648 == 0 || -2147483648 != 0)
73
{
74
InputControlSource
inputControlSource13
=
InputDeviceProfile
.
Analog
(11);
75
if
(-2147483648 == 0 || -2147483648 != 0)
76
{
77
return
;
78
}
79
}
80
}
81
}
82
}
83
}
84
}
85
}
86
}
87
}
88
}
89
}
90
}
91
}
92
}
93
}
94
}
95
throw
new
ArrayTypeMismatchException
();
96
}
97
98
// Token: 0x06000650 RID: 1616 RVA: 0x0001B16C File Offset: 0x0001936C
99
public
AppleMFiUnityProfile
()
100
{
101
if
(!
true
)
102
{
103
}
104
base
..ctor();
105
}
106
}
107
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
InControl.InputControlMapping
Definition
InputControlMapping.cs:9
InControl.InputDeviceProfile.RightStickLeftMapping
static InputControlMapping RightStickLeftMapping(int analog)
Definition
InputDeviceProfile.cs:684
InControl.InputDeviceProfile.RightStickDownMapping
static InputControlMapping RightStickDownMapping(int analog)
Definition
InputDeviceProfile.cs:765
InControl.InputDeviceProfile.LeftStickRightMapping
static InputControlMapping LeftStickRightMapping(int analog)
Definition
InputDeviceProfile.cs:549
InControl.InputDeviceProfile.LeftStickUpMapping
static InputControlMapping LeftStickUpMapping(int analog)
Definition
InputDeviceProfile.cs:576
InControl.InputDeviceProfile.RightStickRightMapping
static InputControlMapping RightStickRightMapping(int analog)
Definition
InputDeviceProfile.cs:711
InControl.InputDeviceProfile.RightStickUpMapping
static InputControlMapping RightStickUpMapping(int analog)
Definition
InputDeviceProfile.cs:738
InControl.InputDeviceProfile.LeftStickLeftMapping
static InputControlMapping LeftStickLeftMapping(int analog)
Definition
InputDeviceProfile.cs:522
InControl.InputDeviceProfile.Analog
static InputControlSource Analog(int index)
Definition
InputDeviceProfile.cs:516
InControl.InputDeviceProfile.Button
static InputControlSource Button(int index)
Definition
InputDeviceProfile.cs:510
InControl.InputDeviceProfile.LeftStickDownMapping
static InputControlMapping LeftStickDownMapping(int analog)
Definition
InputDeviceProfile.cs:603
InControl.InputDeviceProfile
Definition
InputDeviceProfile.cs:13
InControl.UnityDeviceProfiles.AppleMFiUnityProfile.AppleMFiUnityProfile
AppleMFiUnityProfile()
Definition
AppleMFiUnityProfile.cs:99
InControl.UnityDeviceProfiles.AppleMFiUnityProfile.Define
override void Define()
Definition
AppleMFiUnityProfile.cs:11
InControl.UnityDeviceProfiles.AppleMFiUnityProfile
Definition
AppleMFiUnityProfile.cs:9
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
InControl.UnityDeviceProfiles
Definition
AirFloWiredPS3MacUnityProfile.cs:4
InControl.Key.E
@ E
System.Xml.Schema.XmlSchemaWhiteSpace.Preserve
@ Preserve
System
Definition
__ComObject.cs:4
InControl.InputControlSource
Definition
InputControlSource.cs:10
source
InControl
UnityDeviceProfiles
AppleMFiUnityProfile.cs
Generated by
1.10.0