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
GenericLinuxUnityProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
InControl.UnityDeviceProfiles
4
{
5
// Token: 0x020000BB RID: 187
6
[
Preserve
]
7
[
UnityInputDeviceProfile
]
8
public
class
GenericLinuxUnityProfile
:
InputDeviceProfile
9
{
10
// Token: 0x06000603 RID: 1539 RVA: 0x000177E0 File Offset: 0x000159E0
11
public
override
void
Define
()
12
{
13
base
.Define();
14
this.deviceName
=
"Generic Controller"
;
15
this.deviceClass
=
InputDeviceClass
.Controller;
16
this.deviceNotes
=
"Generic Controller on Linux"
;
17
if
(
"Linux"
==
null
||
"Linux"
!=
null
)
18
{
19
if
(
"A"
==
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
(12);
35
InputControlSource
inputControlSource14
=
InputDeviceProfile
.
Button
(13);
36
InputControlSource
inputControlSource15
=
InputDeviceProfile
.
Button
(14);
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
(3);
50
if
(
inputControlMapping5
==
null
||
inputControlMapping5
!=
null
)
51
{
52
InputControlMapping
inputControlMapping6
=
InputDeviceProfile
.
RightStickRightMapping
(3);
53
if
(
inputControlMapping6
==
null
||
inputControlMapping6
!=
null
)
54
{
55
InputControlMapping
inputControlMapping7
=
InputDeviceProfile
.
RightStickUpMapping
(4);
56
if
(
inputControlMapping7
==
null
||
inputControlMapping7
!=
null
)
57
{
58
InputControlMapping
inputControlMapping8
=
InputDeviceProfile
.
RightStickDownMapping
(4);
59
if
(
inputControlMapping8
==
null
||
inputControlMapping8
!=
null
)
60
{
61
InputControlMapping
inputControlMapping9
=
InputDeviceProfile
.
DPadLeftMapping
(6);
62
if
(
inputControlMapping9
==
null
||
inputControlMapping9
!=
null
)
63
{
64
InputControlMapping
inputControlMapping10
=
InputDeviceProfile
.
DPadRightMapping
(6);
65
if
(
inputControlMapping10
==
null
||
inputControlMapping10
!=
null
)
66
{
67
InputControlMapping
inputControlMapping11
=
InputDeviceProfile
.
DPadUpMapping
(7);
68
if
(
inputControlMapping11
==
null
||
inputControlMapping11
!=
null
)
69
{
70
InputControlMapping
inputControlMapping12
=
InputDeviceProfile
.
DPadDownMapping
(7);
71
if
(
inputControlMapping12
==
null
||
inputControlMapping12
!=
null
)
72
{
73
InputControlSource
inputControlSource16
=
InputDeviceProfile
.
Analog
(2);
74
InputControlSource
inputControlSource17
=
InputDeviceProfile
.
Analog
(5);
75
return
;
76
}
77
}
78
}
79
}
80
}
81
}
82
}
83
}
84
}
85
}
86
}
87
}
88
}
89
throw
new
ArrayTypeMismatchException
();
90
}
91
92
// Token: 0x06000604 RID: 1540 RVA: 0x00017994 File Offset: 0x00015B94
93
public
GenericLinuxUnityProfile
()
94
{
95
if
(!
true
)
96
{
97
}
98
base
..ctor();
99
}
100
}
101
}
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.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.GenericLinuxUnityProfile.GenericLinuxUnityProfile
GenericLinuxUnityProfile()
Definition
GenericLinuxUnityProfile.cs:93
InControl.UnityDeviceProfiles.GenericLinuxUnityProfile.Define
override void Define()
Definition
GenericLinuxUnityProfile.cs:11
InControl.UnityDeviceProfiles.GenericLinuxUnityProfile
Definition
GenericLinuxUnityProfile.cs:9
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
InControl.UnityDeviceProfiles
Definition
AirFloWiredPS3MacUnityProfile.cs:4
InControl.InputDeviceClass
InputDeviceClass
Definition
InputDeviceClass.cs:7
System.Xml.Schema.XmlSchemaWhiteSpace.Preserve
@ Preserve
System
Definition
__ComObject.cs:4
InControl.InputControlSource
Definition
InputControlSource.cs:10
source
InControl
UnityDeviceProfiles
GenericLinuxUnityProfile.cs
Generated by
1.10.0