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
PlayStation4AndroidUnityProfile.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
using
UnityEngine
;
4
5
namespace
InControl.UnityDeviceProfiles
6
{
7
// Token: 0x020000AD RID: 173
8
[
Preserve
]
9
[
UnityInputDeviceProfile
]
10
public
class
PlayStation4AndroidUnityProfile
:
InputDeviceProfile
11
{
12
// Token: 0x060005E1 RID: 1505 RVA: 0x000025E1 File Offset: 0x000007E1
13
private
static
int
getSDKInt
()
14
{
15
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
16
}
17
18
// Token: 0x060005E2 RID: 1506 RVA: 0x00015D60 File Offset: 0x00013F60
19
public
override
void
Define
()
20
{
21
base
.Define();
22
this.deviceName
=
"PlayStation 4 Controller"
;
23
this.deviceNotes
=
"PlayStation 4 Controller on Android"
;
24
if
((
"Android"
==
null
||
"Android"
!=
null
) && (
"Amazon AFT"
==
null
||
"Amazon AFT"
!=
null
))
25
{
26
string
text
=
PlayStation4AndroidUnityProfile
.
getSDKInt
().ToString();
27
Debug
.
Log
(
"SDK"
+
text
);
28
int
sdkint
=
PlayStation4AndroidUnityProfile
.
getSDKInt
();
29
if
(
"Cross"
==
null
)
30
{
31
}
32
InputControlSource
inputControlSource
=
InputDeviceProfile
.
Button
(1);
33
InputControlSource
inputControlSource2
=
InputDeviceProfile
.
Button
(13);
34
InputControlSource
inputControlSource3
=
InputDeviceProfile
.
Button
(0);
35
InputControlSource
inputControlSource4
=
InputDeviceProfile
.
Button
(2);
36
InputControlSource
inputControlSource5
=
InputDeviceProfile
.
Button
(3);
37
InputControlSource
inputControlSource6
=
InputDeviceProfile
.
Button
(14);
38
InputControlSource
inputControlSource7
=
InputDeviceProfile
.
Button
(6);
39
InputControlSource
inputControlSource8
=
InputDeviceProfile
.
Button
(7);
40
InputControlSource
inputControlSource9
=
InputDeviceProfile
.
Button
(11);
41
InputControlSource
inputControlSource10
=
InputDeviceProfile
.
Button
(10);
42
InputControlSource
inputControlSource11
=
InputDeviceProfile
.
Button
(8);
43
InputControlMapping
inputControlMapping
=
InputDeviceProfile
.
LeftStickLeftMapping
(0);
44
if
(
inputControlMapping
==
null
||
inputControlMapping
!=
null
)
45
{
46
InputControlMapping
inputControlMapping2
=
InputDeviceProfile
.
LeftStickRightMapping
(0);
47
if
(
inputControlMapping2
==
null
||
inputControlMapping2
!=
null
)
48
{
49
InputControlMapping
inputControlMapping3
=
InputDeviceProfile
.
LeftStickUpMapping
(1);
50
if
(
inputControlMapping3
==
null
||
inputControlMapping3
!=
null
)
51
{
52
InputControlMapping
inputControlMapping4
=
InputDeviceProfile
.
LeftStickDownMapping
(1);
53
if
(
inputControlMapping4
==
null
||
inputControlMapping4
!=
null
)
54
{
55
InputControlMapping
inputControlMapping5
=
InputDeviceProfile
.
RightStickLeftMapping
(13);
56
if
(
inputControlMapping5
==
null
||
inputControlMapping5
!=
null
)
57
{
58
InputControlMapping
inputControlMapping6
=
InputDeviceProfile
.
RightStickRightMapping
(13);
59
if
(
inputControlMapping6
==
null
||
inputControlMapping6
!=
null
)
60
{
61
InputControlMapping
inputControlMapping7
=
InputDeviceProfile
.
RightStickUpMapping
(14);
62
if
(
inputControlMapping7
==
null
||
inputControlMapping7
!=
null
)
63
{
64
InputControlMapping
inputControlMapping8
=
InputDeviceProfile
.
RightStickDownMapping
(14);
65
if
(
inputControlMapping8
==
null
||
inputControlMapping8
!=
null
)
66
{
67
InputControlMapping
inputControlMapping9
=
InputDeviceProfile
.
DPadLeftMapping
(4);
68
if
(
inputControlMapping9
==
null
||
inputControlMapping9
!=
null
)
69
{
70
InputControlMapping
inputControlMapping10
=
InputDeviceProfile
.
DPadRightMapping
(4);
71
if
(
inputControlMapping10
==
null
||
inputControlMapping10
!=
null
)
72
{
73
InputControlMapping
inputControlMapping11
=
InputDeviceProfile
.
DPadUpMapping
(5);
74
if
(
inputControlMapping11
==
null
||
inputControlMapping11
!=
null
)
75
{
76
InputControlMapping
inputControlMapping12
=
InputDeviceProfile
.
DPadDownMapping
(5);
77
if
(
inputControlMapping12
==
null
||
inputControlMapping12
!=
null
)
78
{
79
InputControlSource
inputControlSource12
=
InputDeviceProfile
.
Analog
(2);
80
InputControlSource
inputControlSource13
=
InputDeviceProfile
.
Analog
(3);
81
return
;
82
}
83
}
84
}
85
}
86
}
87
}
88
}
89
}
90
}
91
}
92
}
93
}
94
}
95
throw
new
ArrayTypeMismatchException
();
96
}
97
98
// Token: 0x060005E3 RID: 1507 RVA: 0x0001613C File Offset: 0x0001433C
99
public
PlayStation4AndroidUnityProfile
()
100
{
101
if
(!
true
)
102
{
103
}
104
base
..ctor();
105
}
106
}
107
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
InControl.InputControlMapping
Definition
InputControlMapping.cs:9
InControl.InputDeviceProfile.RightStickLeftMapping
static InputControlMapping RightStickLeftMapping(int analog)
Definition
InputDeviceProfile.cs:684
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.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.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.PlayStation4AndroidUnityProfile.Define
override void Define()
Definition
PlayStation4AndroidUnityProfile.cs:19
InControl.UnityDeviceProfiles.PlayStation4AndroidUnityProfile.getSDKInt
static int getSDKInt()
Definition
PlayStation4AndroidUnityProfile.cs:13
InControl.UnityDeviceProfiles.PlayStation4AndroidUnityProfile.PlayStation4AndroidUnityProfile
PlayStation4AndroidUnityProfile()
Definition
PlayStation4AndroidUnityProfile.cs:99
InControl.UnityDeviceProfiles.PlayStation4AndroidUnityProfile
Definition
PlayStation4AndroidUnityProfile.cs:11
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
UnityEngine.Debug.Log
static void Log(object message)
Definition
Debug.cs:51
UnityEngine.Debug
Definition
Debug.cs:11
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
InControl.UnityDeviceProfiles
Definition
AirFloWiredPS3MacUnityProfile.cs:4
System.Xml.Schema.XmlSchemaWhiteSpace.Preserve
@ Preserve
System.ExceptionArgument.text
@ text
System
Definition
__ComObject.cs:4
UnityEngine
Definition
_AndroidJNIHelper.cs:6
InControl.InputControlSource
Definition
InputControlSource.cs:10
source
InControl
UnityDeviceProfiles
PlayStation4AndroidUnityProfile.cs
Generated by
1.10.0