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
PlayStation4MacBluetoothUnityProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
InControl.UnityDeviceProfiles
4
{
5
// Token: 0x020000D6 RID: 214
6
[
Preserve
]
7
[
UnityInputDeviceProfile
]
8
public
class
PlayStation4MacBluetoothUnityProfile
:
InputDeviceProfile
9
{
10
// Token: 0x06000639 RID: 1593 RVA: 0x00019FD0 File Offset: 0x000181D0
11
public
override
void
Define
()
12
{
13
base
.Define();
14
this.deviceName
=
"PlayStation 4 Controller"
;
15
this.deviceNotes
=
"PlayStation 4 Controller on Mac"
;
16
if
(
"OS X"
==
null
||
"OS X"
!=
null
)
17
{
18
string
text
=
"Sony Interactive Entertainment DUALSHOCK"
+
"®"
+
"4 USB Wireless Adaptor"
;
19
if
(
"Cross"
==
null
)
20
{
21
}
22
InputControlSource
inputControlSource
=
InputDeviceProfile
.
Button
(1);
23
InputControlSource
inputControlSource2
=
InputDeviceProfile
.
Button
(2);
24
InputControlSource
inputControlSource3
=
InputDeviceProfile
.
Button
(0);
25
InputControlSource
inputControlSource4
=
InputDeviceProfile
.
Button
(3);
26
InputControlSource
inputControlSource5
=
InputDeviceProfile
.
Button
(4);
27
InputControlSource
inputControlSource6
=
InputDeviceProfile
.
Button
(5);
28
InputControlSource
inputControlSource7
=
InputDeviceProfile
.
Button
(8);
29
InputControlSource
inputControlSource8
=
InputDeviceProfile
.
Button
(9);
30
InputControlSource
inputControlSource9
=
InputDeviceProfile
.
Button
(10);
31
InputControlSource
inputControlSource10
=
InputDeviceProfile
.
Button
(11);
32
InputControlSource
inputControlSource11
=
InputDeviceProfile
.
Button
(12);
33
InputControlSource
inputControlSource12
=
InputDeviceProfile
.
Button
(13);
34
InputControlMapping
inputControlMapping
=
InputDeviceProfile
.
LeftStickLeftMapping
(0);
35
if
(
inputControlMapping
==
null
||
inputControlMapping
!=
null
)
36
{
37
InputControlMapping
inputControlMapping2
=
InputDeviceProfile
.
LeftStickRightMapping
(0);
38
if
(
inputControlMapping2
==
null
||
inputControlMapping2
!=
null
)
39
{
40
InputControlMapping
inputControlMapping3
=
InputDeviceProfile
.
LeftStickUpMapping
(1);
41
if
(
inputControlMapping3
==
null
||
inputControlMapping3
!=
null
)
42
{
43
InputControlMapping
inputControlMapping4
=
InputDeviceProfile
.
LeftStickDownMapping
(1);
44
if
(
inputControlMapping4
==
null
||
inputControlMapping4
!=
null
)
45
{
46
InputControlMapping
inputControlMapping5
=
InputDeviceProfile
.
RightStickLeftMapping
(2);
47
if
(
inputControlMapping5
==
null
||
inputControlMapping5
!=
null
)
48
{
49
InputControlMapping
inputControlMapping6
=
InputDeviceProfile
.
RightStickRightMapping
(2);
50
if
(
inputControlMapping6
==
null
||
inputControlMapping6
!=
null
)
51
{
52
InputControlMapping
inputControlMapping7
=
InputDeviceProfile
.
RightStickUpMapping
(3);
53
if
(
inputControlMapping7
==
null
||
inputControlMapping7
!=
null
)
54
{
55
InputControlMapping
inputControlMapping8
=
InputDeviceProfile
.
RightStickDownMapping
(3);
56
if
(
inputControlMapping8
==
null
||
inputControlMapping8
!=
null
)
57
{
58
InputControlMapping
inputControlMapping9
=
InputDeviceProfile
.
LeftTriggerMapping
(4);
59
if
(
inputControlMapping9
==
null
||
inputControlMapping9
!=
null
)
60
{
61
InputControlMapping
inputControlMapping10
=
InputDeviceProfile
.
RightTriggerMapping
(5);
62
if
(
inputControlMapping10
==
null
||
inputControlMapping10
!=
null
)
63
{
64
InputControlMapping
inputControlMapping11
=
InputDeviceProfile
.
DPadLeftMapping
(10);
65
if
(
inputControlMapping11
==
null
||
inputControlMapping11
!=
null
)
66
{
67
InputControlMapping
inputControlMapping12
=
InputDeviceProfile
.
DPadRightMapping
(10);
68
if
(
inputControlMapping12
==
null
||
inputControlMapping12
!=
null
)
69
{
70
InputControlMapping
inputControlMapping13
=
InputDeviceProfile
.
DPadUpMapping
(11);
71
if
(
inputControlMapping13
==
null
||
inputControlMapping13
!=
null
)
72
{
73
InputControlMapping
inputControlMapping14
=
InputDeviceProfile
.
DPadDownMapping
(11);
74
if
(
inputControlMapping14
==
null
||
inputControlMapping14
!=
null
)
75
{
76
InputControlMapping
inputControlMapping15
=
InputDeviceProfile
.
DPadLeftMapping
(6);
77
if
(
inputControlMapping15
==
null
||
inputControlMapping15
!=
null
)
78
{
79
InputControlMapping
inputControlMapping16
=
InputDeviceProfile
.
DPadRightMapping
(6);
80
if
(
inputControlMapping16
==
null
||
inputControlMapping16
!=
null
)
81
{
82
InputControlMapping
inputControlMapping17
=
InputDeviceProfile
.
DPadUpMapping
(7);
83
if
(
inputControlMapping17
==
null
||
inputControlMapping17
!=
null
)
84
{
85
InputControlMapping
inputControlMapping18
=
InputDeviceProfile
.
DPadDownMapping
(7);
86
if
(
inputControlMapping18
==
null
||
inputControlMapping18
!=
null
)
87
{
88
return
;
89
}
90
}
91
}
92
}
93
}
94
}
95
}
96
}
97
}
98
}
99
}
100
}
101
}
102
}
103
}
104
}
105
}
106
}
107
}
108
throw
new
ArrayTypeMismatchException
();
109
}
110
111
// Token: 0x0600063A RID: 1594 RVA: 0x0001A1D8 File Offset: 0x000183D8
112
public
PlayStation4MacBluetoothUnityProfile
()
113
{
114
if
(!
true
)
115
{
116
}
117
base
..ctor();
118
}
119
}
120
}
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.RightTriggerMapping
static InputControlMapping RightTriggerMapping(int analog)
Definition
InputDeviceProfile.cs:873
InControl.InputDeviceProfile.DPadRightMapping
static InputControlMapping DPadRightMapping(int analog)
Definition
InputDeviceProfile.cs:927
InControl.InputDeviceProfile.DPadUpMapping
static InputControlMapping DPadUpMapping(int analog)
Definition
InputDeviceProfile.cs:936
InControl.InputDeviceProfile.LeftTriggerMapping
static InputControlMapping LeftTriggerMapping(int analog)
Definition
InputDeviceProfile.cs:846
InControl.InputDeviceProfile.DPadLeftMapping
static InputControlMapping DPadLeftMapping(int analog)
Definition
InputDeviceProfile.cs:900
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.DPadDownMapping
static InputControlMapping DPadDownMapping(int analog)
Definition
InputDeviceProfile.cs:963
InControl.InputDeviceProfile.LeftStickLeftMapping
static InputControlMapping LeftStickLeftMapping(int analog)
Definition
InputDeviceProfile.cs:522
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.PlayStation4MacBluetoothUnityProfile.PlayStation4MacBluetoothUnityProfile
PlayStation4MacBluetoothUnityProfile()
Definition
PlayStation4MacBluetoothUnityProfile.cs:112
InControl.UnityDeviceProfiles.PlayStation4MacBluetoothUnityProfile.Define
override void Define()
Definition
PlayStation4MacBluetoothUnityProfile.cs:11
InControl.UnityDeviceProfiles.PlayStation4MacBluetoothUnityProfile
Definition
PlayStation4MacBluetoothUnityProfile.cs:9
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
InControl.UnityDeviceProfiles
Definition
AirFloWiredPS3MacUnityProfile.cs:4
System.Xml.Schema.XmlSchemaWhiteSpace.Preserve
@ Preserve
System.ExceptionArgument.text
@ text
System
Definition
__ComObject.cs:4
InControl.InputControlSource
Definition
InputControlSource.cs:10
source
InControl
UnityDeviceProfiles
PlayStation4MacBluetoothUnityProfile.cs
Generated by
1.10.0