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
XboxOneMFiNativeProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
InControl.NativeDeviceProfiles
4
{
5
// Token: 0x020001C6 RID: 454
6
[
NativeInputDeviceProfile
]
7
[
Preserve
]
8
public
class
XboxOneMFiNativeProfile
:
InputDeviceProfile
9
{
10
// Token: 0x06000819 RID: 2073 RVA: 0x00025010 File Offset: 0x00023210
11
public
override
void
Define
()
12
{
13
base
.Define();
14
this.deviceName
=
"Microsoft Xbox One Controller"
;
15
this.deviceNotes
=
"Microsoft Xbox One Controller on iOS / tvOS"
;
16
if
((
"Microsoft Xbox One Controller on iOS / tvOS"
==
null
||
"Microsoft Xbox One Controller on iOS / tvOS"
!=
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
(
"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
InputControlMapping
inputControlMapping
=
InputDeviceProfile
.
LeftStickLeftMapping
(0);
37
if
(
inputControlMapping
==
null
||
inputControlMapping
!=
null
)
38
{
39
InputControlMapping
inputControlMapping2
=
InputDeviceProfile
.
LeftStickRightMapping
(0);
40
if
(
inputControlMapping2
==
null
||
inputControlMapping2
!=
null
)
41
{
42
InputControlMapping
inputControlMapping3
=
InputDeviceProfile
.
LeftStickUpMapping2
(1);
43
InputControlMapping
inputControlMapping4
;
44
if
((
inputControlMapping3
==
null
||
inputControlMapping3
!=
null
) && (
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
.
RightStickUpMapping2
(3);
53
if
(
inputControlMapping7
==
null
||
inputControlMapping7
!=
null
)
54
{
55
InputControlMapping
inputControlMapping8
=
InputDeviceProfile
.
RightStickDownMapping2
(3);
56
if
(
inputControlMapping8
==
null
||
inputControlMapping8
!=
null
)
57
{
58
InputControlSource
inputControlSource15
=
InputDeviceProfile
.
Analog
(4);
59
InputControlSource
inputControlSource16
=
InputDeviceProfile
.
Analog
(5);
60
return
;
61
}
62
}
63
}
64
}
65
}
66
}
67
}
68
}
69
throw
new
ArrayTypeMismatchException
();
70
}
71
72
// Token: 0x0600081A RID: 2074 RVA: 0x000251B8 File Offset: 0x000233B8
73
public
XboxOneMFiNativeProfile
()
74
{
75
if
(!
true
)
76
{
77
}
78
base
..ctor();
79
}
80
}
81
}
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.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.XboxOneMFiNativeProfile.XboxOneMFiNativeProfile
XboxOneMFiNativeProfile()
Definition
XboxOneMFiNativeProfile.cs:73
InControl.NativeDeviceProfiles.XboxOneMFiNativeProfile.Define
override void Define()
Definition
XboxOneMFiNativeProfile.cs:11
InControl.NativeDeviceProfiles.XboxOneMFiNativeProfile
Definition
XboxOneMFiNativeProfile.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
XboxOneMFiNativeProfile.cs
Generated by
1.10.0