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
AppleTVWirelessControllerUnityProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
InControl.UnityDeviceProfiles
4
{
5
// Token: 0x020000B8 RID: 184
6
[
Preserve
]
7
[
UnityInputDeviceProfile
]
8
public
class
AppleTVWirelessControllerUnityProfile
:
InputDeviceProfile
9
{
10
// Token: 0x060005F9 RID: 1529 RVA: 0x0001733C File Offset: 0x0001553C
11
public
override
void
Define
()
12
{
13
base
.Define();
14
this.deviceName
=
"Apple TV Controller"
;
15
this.deviceClass.value__
= (int)4
E
-45f;
16
this.deviceNotes
=
"Apple TV Controller on tvOS"
;
17
if
(
"AppleTV"
==
null
||
"AppleTV"
!=
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
(6);
30
InputControlSource
inputControlSource7
=
InputDeviceProfile
.
Button
(7);
31
InputControlSource
inputControlSource8
=
InputDeviceProfile
.
Button
(5);
32
InputControlSource
inputControlSource9
=
InputDeviceProfile
.
Button
(8);
33
InputControlSource
inputControlSource10
=
InputDeviceProfile
.
Button
(9);
34
InputControlSource
inputControlSource11
=
InputDeviceProfile
.
Button
(0);
35
InputControlMapping
inputControlMapping
=
InputDeviceProfile
.
LeftStickLeftMapping
(0);
36
if
(
inputControlMapping
==
null
||
inputControlMapping
!=
null
)
37
{
38
InputControlMapping
inputControlMapping2
=
InputDeviceProfile
.
LeftStickRightMapping
(0);
39
if
(
inputControlMapping2
==
null
||
inputControlMapping2
!=
null
)
40
{
41
InputControlMapping
inputControlMapping3
=
InputDeviceProfile
.
LeftStickUpMapping
(1);
42
if
(
inputControlMapping3
==
null
||
inputControlMapping3
!=
null
)
43
{
44
InputControlMapping
inputControlMapping4
=
InputDeviceProfile
.
LeftStickDownMapping
(1);
45
if
(
inputControlMapping4
==
null
||
inputControlMapping4
!=
null
)
46
{
47
InputControlMapping
inputControlMapping5
=
InputDeviceProfile
.
RightStickLeftMapping
(2);
48
if
(
inputControlMapping5
==
null
||
inputControlMapping5
!=
null
)
49
{
50
InputControlMapping
inputControlMapping6
=
InputDeviceProfile
.
RightStickRightMapping
(2);
51
if
(
inputControlMapping6
==
null
||
inputControlMapping6
!=
null
)
52
{
53
InputControlMapping
inputControlMapping7
=
InputDeviceProfile
.
RightStickUpMapping
(3);
54
if
(
inputControlMapping7
==
null
||
inputControlMapping7
!=
null
)
55
{
56
InputControlMapping
inputControlMapping8
=
InputDeviceProfile
.
RightStickDownMapping
(3);
57
if
(
inputControlMapping8
==
null
||
inputControlMapping8
!=
null
)
58
{
59
InputControlSource
inputControlSource12
=
InputDeviceProfile
.
Analog
(10);
60
InputControlSource
inputControlSource13
=
InputDeviceProfile
.
Analog
(11);
61
return
;
62
}
63
}
64
}
65
}
66
}
67
}
68
}
69
}
70
}
71
throw
new
ArrayTypeMismatchException
();
72
}
73
74
// Token: 0x060005FA RID: 1530 RVA: 0x000174A0 File Offset: 0x000156A0
75
public
AppleTVWirelessControllerUnityProfile
()
76
{
77
if
(!
true
)
78
{
79
}
80
base
..ctor();
81
}
82
}
83
}
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.AppleTVWirelessControllerUnityProfile.AppleTVWirelessControllerUnityProfile
AppleTVWirelessControllerUnityProfile()
Definition
AppleTVWirelessControllerUnityProfile.cs:75
InControl.UnityDeviceProfiles.AppleTVWirelessControllerUnityProfile.Define
override void Define()
Definition
AppleTVWirelessControllerUnityProfile.cs:11
InControl.UnityDeviceProfiles.AppleTVWirelessControllerUnityProfile
Definition
AppleTVWirelessControllerUnityProfile.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
AppleTVWirelessControllerUnityProfile.cs
Generated by
1.10.0