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
DualShock4MFiNativeProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
InControl.NativeDeviceProfiles
4
{
5
// Token: 0x020001C5 RID: 453
6
[
NativeInputDeviceProfile
]
7
[
Preserve
]
8
public
class
DualShock4MFiNativeProfile
:
InputDeviceProfile
9
{
10
// Token: 0x06000817 RID: 2071 RVA: 0x00024E0C File Offset: 0x0002300C
11
public
override
void
Define
()
12
{
13
base
.Define();
14
this.deviceName
=
"Sony DualShock 4 Controller"
;
15
this.deviceNotes
=
"Sony DualShock 4 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
OptionalUInt32
optionalUInt
= 0
U
;
19
if
(
"Cross"
==
null
)
20
{
21
}
22
InputControlSource
inputControlSource
=
InputDeviceProfile
.
Button
(0);
23
InputControlSource
inputControlSource2
=
InputDeviceProfile
.
Button
(1);
24
InputControlSource
inputControlSource3
=
InputDeviceProfile
.
Button
(2);
25
InputControlSource
inputControlSource4
=
InputDeviceProfile
.
Button
(3);
26
InputControlSource
inputControlSource5
=
InputDeviceProfile
.
Button
(4);
27
InputControlSource
inputControlSource6
=
InputDeviceProfile
.
Button
(5);
28
InputControlSource
inputControlSource7
=
InputDeviceProfile
.
Button
(6);
29
InputControlSource
inputControlSource8
=
InputDeviceProfile
.
Button
(7);
30
InputControlSource
inputControlSource9
=
InputDeviceProfile
.
Button
(8);
31
InputControlSource
inputControlSource10
=
InputDeviceProfile
.
Button
(9);
32
InputControlSource
inputControlSource11
=
InputDeviceProfile
.
Button
(10);
33
InputControlSource
inputControlSource12
=
InputDeviceProfile
.
Button
(11);
34
InputControlSource
inputControlSource13
=
InputDeviceProfile
.
Button
(
int
.MinValue);
35
if
(-2147483648 == 0 || -2147483648 != 0)
36
{
37
InputControlSource
inputControlSource14
=
InputDeviceProfile
.
Button
(13);
38
if
(-2147483648 == 0 || -2147483648 != 0)
39
{
40
InputControlMapping
inputControlMapping
=
InputDeviceProfile
.
LeftStickLeftMapping
(0);
41
if
(
inputControlMapping
==
null
||
inputControlMapping
!=
null
)
42
{
43
InputControlMapping
inputControlMapping2
=
InputDeviceProfile
.
LeftStickRightMapping
(0);
44
if
(
inputControlMapping2
==
null
||
inputControlMapping2
!=
null
)
45
{
46
InputControlMapping
inputControlMapping3
=
InputDeviceProfile
.
LeftStickUpMapping2
(1);
47
if
(
inputControlMapping3
==
null
||
inputControlMapping3
!=
null
)
48
{
49
InputControlMapping
inputControlMapping4
=
InputDeviceProfile
.
LeftStickDownMapping2
(1);
50
if
(
inputControlMapping4
==
null
||
inputControlMapping4
!=
null
)
51
{
52
InputControlMapping
inputControlMapping5
=
InputDeviceProfile
.
RightStickLeftMapping
(2);
53
if
(
inputControlMapping5
==
null
||
inputControlMapping5
!=
null
)
54
{
55
if
(
InputDeviceProfile
.
RightStickRightMapping
(2) !=
null
)
56
{
57
}
58
InputControlMapping
inputControlMapping6
=
InputDeviceProfile
.
RightStickUpMapping2
(3);
59
if
(
inputControlMapping6
==
null
||
inputControlMapping6
!=
null
)
60
{
61
InputControlMapping
inputControlMapping7
=
InputDeviceProfile
.
RightStickDownMapping2
(3);
62
if
(
inputControlMapping7
==
null
||
inputControlMapping7
!=
null
)
63
{
64
InputControlSource
inputControlSource15
=
InputDeviceProfile
.
Analog
(4);
65
if
(-2147483648 == 0 || -2147483648 != 0)
66
{
67
InputControlSource
inputControlSource16
=
InputDeviceProfile
.
Analog
(5);
68
if
(-2147483648 == 0 || -2147483648 != 0)
69
{
70
return
;
71
}
72
}
73
}
74
}
75
}
76
}
77
}
78
}
79
}
80
}
81
}
82
}
83
throw
new
ArrayTypeMismatchException
();
84
}
85
86
// Token: 0x06000818 RID: 2072 RVA: 0x00024FF8 File Offset: 0x000231F8
87
public
DualShock4MFiNativeProfile
()
88
{
89
if
(!
true
)
90
{
91
}
92
base
..ctor();
93
}
94
}
95
}
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.DualShock4MFiNativeProfile.DualShock4MFiNativeProfile
DualShock4MFiNativeProfile()
Definition
DualShock4MFiNativeProfile.cs:87
InControl.NativeDeviceProfiles.DualShock4MFiNativeProfile.Define
override void Define()
Definition
DualShock4MFiNativeProfile.cs:11
InControl.NativeDeviceProfiles.DualShock4MFiNativeProfile
Definition
DualShock4MFiNativeProfile.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.OptionalUInt32
Definition
OptionalUInt32.cs:11
source
InControl
NativeDeviceProfiles
DualShock4MFiNativeProfile.cs
Generated by
1.10.0