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
AppleMFiExtendedGamepadNativeProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
InControl.NativeDeviceProfiles
4
{
5
// Token: 0x020001C3 RID: 451
6
[
NativeInputDeviceProfile
]
7
[
Preserve
]
8
public
class
AppleMFiExtendedGamepadNativeProfile
:
InputDeviceProfile
9
{
10
// Token: 0x06000813 RID: 2067 RVA: 0x00024B54 File Offset: 0x00022D54
11
public
override
void
Define
()
12
{
13
base
.Define();
14
this.deviceName
=
"{NAME} MFi Controller"
;
15
this.deviceNotes
=
"MFi Controller on iOS / tvOS"
;
16
if
((
"iOS"
==
null
||
"iOS"
!=
null
) && (
"tvOS"
==
null
||
"tvOS"
!=
null
) && (
"iPhone"
==
null
||
"iPhone"
!=
null
) && (
"iPad"
==
null
||
"iPad"
!=
null
) && (
"AppleTV"
==
null
||
"AppleTV"
!=
null
) && (
"OS X"
==
null
||
"OS X"
!=
null
))
17
{
18
OptionalUInt16
optionalUInt
= 0;
19
OptionalUInt32
optionalUInt2
= 0
U
;
20
if
(
"A"
==
null
)
21
{
22
}
23
InputControlSource
inputControlSource
=
InputDeviceProfile
.
Button
(0);
24
InputControlSource
inputControlSource2
=
InputDeviceProfile
.
Button
(1);
25
InputControlSource
inputControlSource3
=
InputDeviceProfile
.
Button
(2);
26
InputControlSource
inputControlSource4
=
InputDeviceProfile
.
Button
(3);
27
InputControlSource
inputControlSource5
=
InputDeviceProfile
.
Button
(4);
28
InputControlSource
inputControlSource6
=
InputDeviceProfile
.
Button
(5);
29
InputControlSource
inputControlSource7
=
InputDeviceProfile
.
Button
(6);
30
InputControlSource
inputControlSource8
=
InputDeviceProfile
.
Button
(7);
31
InputControlSource
inputControlSource9
=
InputDeviceProfile
.
Button
(8);
32
InputControlSource
inputControlSource10
=
InputDeviceProfile
.
Button
(9);
33
InputControlSource
inputControlSource11
=
InputDeviceProfile
.
Button
(10);
34
InputControlSource
inputControlSource12
=
InputDeviceProfile
.
Button
(11);
35
InputControlSource
inputControlSource13
=
InputDeviceProfile
.
Button
(12);
36
InputControlSource
inputControlSource14
=
InputDeviceProfile
.
Button
(13);
37
InputControlMapping
inputControlMapping
=
InputDeviceProfile
.
LeftStickLeftMapping
(0);
38
if
(
inputControlMapping
==
null
||
inputControlMapping
!=
null
)
39
{
40
InputControlMapping
inputControlMapping2
=
InputDeviceProfile
.
LeftStickRightMapping
(0);
41
if
(
inputControlMapping2
==
null
||
inputControlMapping2
!=
null
)
42
{
43
InputControlMapping
inputControlMapping3
=
InputDeviceProfile
.
LeftStickUpMapping2
(1);
44
if
(
inputControlMapping3
==
null
||
inputControlMapping3
!=
null
)
45
{
46
InputControlMapping
inputControlMapping4
=
InputDeviceProfile
.
LeftStickDownMapping2
(1);
47
if
(
inputControlMapping4
==
null
||
inputControlMapping4
!=
null
)
48
{
49
InputControlMapping
inputControlMapping5
=
InputDeviceProfile
.
RightStickLeftMapping
(2);
50
if
(
inputControlMapping5
==
null
||
inputControlMapping5
!=
null
)
51
{
52
InputControlMapping
inputControlMapping6
=
InputDeviceProfile
.
RightStickRightMapping
(2);
53
if
(
inputControlMapping6
==
null
||
inputControlMapping6
!=
null
)
54
{
55
InputControlMapping
inputControlMapping7
=
InputDeviceProfile
.
RightStickUpMapping2
(3);
56
if
((
inputControlMapping7
==
null
||
inputControlMapping7
!=
null
) &&
InputDeviceProfile
.
RightStickDownMapping2
(3) !=
null
)
57
{
58
InputControlSource
inputControlSource15
=
InputDeviceProfile
.
Analog
(4);
59
if
(
InputDeviceProfile
.
Analog
(5) !=
null
)
60
{
61
return
;
62
}
63
}
64
}
65
}
66
}
67
}
68
}
69
}
70
}
71
throw
new
ArrayTypeMismatchException
();
72
}
73
74
// Token: 0x06000814 RID: 2068 RVA: 0x00024D00 File Offset: 0x00022F00
75
public
AppleMFiExtendedGamepadNativeProfile
()
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.RightStickDownMapping2
static InputControlMapping RightStickDownMapping2(int analog)
Definition
InputDeviceProfile.cs:819
InControl.InputDeviceProfile.LeftStickRightMapping
static InputControlMapping LeftStickRightMapping(int analog)
Definition
InputDeviceProfile.cs:549
InControl.InputDeviceProfile.RightStickRightMapping
static InputControlMapping RightStickRightMapping(int analog)
Definition
InputDeviceProfile.cs:711
InControl.InputDeviceProfile.LeftStickDownMapping2
static InputControlMapping LeftStickDownMapping2(int analog)
Definition
InputDeviceProfile.cs:657
InControl.InputDeviceProfile.RightStickUpMapping2
static InputControlMapping RightStickUpMapping2(int analog)
Definition
InputDeviceProfile.cs:792
InControl.InputDeviceProfile.LeftStickLeftMapping
static InputControlMapping LeftStickLeftMapping(int analog)
Definition
InputDeviceProfile.cs:522
InControl.InputDeviceProfile.LeftStickUpMapping2
static InputControlMapping LeftStickUpMapping2(int analog)
Definition
InputDeviceProfile.cs:630
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
Definition
InputDeviceProfile.cs:13
InControl.NativeDeviceProfiles.AppleMFiExtendedGamepadNativeProfile.AppleMFiExtendedGamepadNativeProfile
AppleMFiExtendedGamepadNativeProfile()
Definition
AppleMFiExtendedGamepadNativeProfile.cs:75
InControl.NativeDeviceProfiles.AppleMFiExtendedGamepadNativeProfile.Define
override void Define()
Definition
AppleMFiExtendedGamepadNativeProfile.cs:11
InControl.NativeDeviceProfiles.AppleMFiExtendedGamepadNativeProfile
Definition
AppleMFiExtendedGamepadNativeProfile.cs:9
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
InControl.NativeDeviceProfiles
Definition
AfterglowXbox360WindowsNativeProfile.cs:4
InControl.Key.U
@ U
System.Xml.Schema.XmlSchemaWhiteSpace.Preserve
@ Preserve
System
Definition
__ComObject.cs:4
InControl.InputControlSource
Definition
InputControlSource.cs:10
InControl.OptionalUInt16
Definition
OptionalUInt16.cs:11
InControl.OptionalUInt32
Definition
OptionalUInt32.cs:11
source
InControl
NativeDeviceProfiles
AppleMFiExtendedGamepadNativeProfile.cs
Generated by
1.10.0