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
PlayStation4MacNativeProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
InControl.NativeDeviceProfiles
4
{
5
// Token: 0x020001BB RID: 443
6
[
Preserve
]
7
[
NativeInputDeviceProfile
]
8
public
class
PlayStation4MacNativeProfile
:
InputDeviceProfile
9
{
10
// Token: 0x06000803 RID: 2051 RVA: 0x00024278 File Offset: 0x00022478
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
if
(
"Cross"
==
null
)
19
{
20
}
21
InputControlSource
inputControlSource
=
InputDeviceProfile
.
Button
(1);
22
InputControlSource
inputControlSource2
=
InputDeviceProfile
.
Button
(2);
23
InputControlSource
inputControlSource3
=
InputDeviceProfile
.
Button
(0);
24
InputControlSource
inputControlSource4
=
InputDeviceProfile
.
Button
(3);
25
InputControlSource
inputControlSource5
=
InputDeviceProfile
.
Button
(14);
26
InputControlSource
inputControlSource6
=
InputDeviceProfile
.
Button
(15);
27
InputControlSource
inputControlSource7
=
InputDeviceProfile
.
Button
(16);
28
InputControlSource
inputControlSource8
=
InputDeviceProfile
.
Button
(17);
29
InputControlSource
inputControlSource9
=
InputDeviceProfile
.
Button
(4);
30
InputControlSource
inputControlSource10
=
InputDeviceProfile
.
Button
(5);
31
InputControlSource
inputControlSource11
=
InputDeviceProfile
.
Button
(10);
32
InputControlSource
inputControlSource12
=
InputDeviceProfile
.
Button
(11);
33
InputControlSource
inputControlSource13
=
InputDeviceProfile
.
Button
(8);
34
InputControlSource
inputControlSource14
=
InputDeviceProfile
.
Button
(9);
35
InputControlSource
inputControlSource15
=
InputDeviceProfile
.
Button
(12);
36
InputControlSource
inputControlSource16
=
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
.
LeftStickUpMapping
(1);
44
if
(
inputControlMapping3
==
null
||
inputControlMapping3
!=
null
)
45
{
46
InputControlMapping
inputControlMapping4
=
InputDeviceProfile
.
LeftStickDownMapping
(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
.
RightStickUpMapping
(3);
56
if
(
inputControlMapping7
==
null
||
inputControlMapping7
!=
null
)
57
{
58
InputControlMapping
inputControlMapping8
=
InputDeviceProfile
.
RightStickDownMapping
(3);
59
if
(
inputControlMapping8
==
null
||
inputControlMapping8
!=
null
)
60
{
61
InputControlMapping
inputControlMapping9
=
InputDeviceProfile
.
LeftTriggerMapping
(4);
62
if
(
inputControlMapping9
==
null
||
inputControlMapping9
!=
null
)
63
{
64
InputControlMapping
inputControlMapping10
=
InputDeviceProfile
.
RightTriggerMapping
(5);
65
if
(
inputControlMapping10
==
null
||
inputControlMapping10
!=
null
)
66
{
67
return
;
68
}
69
}
70
}
71
}
72
}
73
}
74
}
75
}
76
}
77
}
78
}
79
throw
new
ArrayTypeMismatchException
();
80
}
81
82
// Token: 0x06000804 RID: 2052 RVA: 0x000243F4 File Offset: 0x000225F4
83
public
PlayStation4MacNativeProfile
()
84
{
85
if
(!
true
)
86
{
87
}
88
base
..ctor();
89
}
90
}
91
}
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.LeftTriggerMapping
static InputControlMapping LeftTriggerMapping(int analog)
Definition
InputDeviceProfile.cs:846
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.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.NativeDeviceProfiles.PlayStation4MacNativeProfile.PlayStation4MacNativeProfile
PlayStation4MacNativeProfile()
Definition
PlayStation4MacNativeProfile.cs:83
InControl.NativeDeviceProfiles.PlayStation4MacNativeProfile.Define
override void Define()
Definition
PlayStation4MacNativeProfile.cs:11
InControl.NativeDeviceProfiles.PlayStation4MacNativeProfile
Definition
PlayStation4MacNativeProfile.cs:9
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
InControl.NativeDeviceProfiles
Definition
AfterglowXbox360WindowsNativeProfile.cs:4
System.Xml.Schema.XmlSchemaWhiteSpace.Preserve
@ Preserve
System
Definition
__ComObject.cs:4
InControl.InputControlSource
Definition
InputControlSource.cs:10
source
InControl
NativeDeviceProfiles
PlayStation4MacNativeProfile.cs
Generated by
1.10.0