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
KiwitataNESWindowsNativeProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
InControl.NativeDeviceProfiles
4
{
5
// Token: 0x020001D1 RID: 465
6
[
Preserve
]
7
[
NativeInputDeviceProfile
]
8
public
class
KiwitataNESWindowsNativeProfile
:
InputDeviceProfile
9
{
10
// Token: 0x0600082F RID: 2095 RVA: 0x00025C08 File Offset: 0x00023E08
11
public
override
void
Define
()
12
{
13
base
.Define();
14
this.deviceName
=
"Kiwitata NES Controller"
;
15
this.deviceNotes
=
"Kiwitata NES on Windows"
;
16
if
(
"Windows"
==
null
||
"Windows"
!=
null
)
17
{
18
if
(
"A"
==
null
)
19
{
20
}
21
InputControlSource
inputControlSource
=
InputDeviceProfile
.
Button
(2);
22
InputControlSource
inputControlSource2
=
InputDeviceProfile
.
Button
(1);
23
InputControlSource
inputControlSource3
=
InputDeviceProfile
.
Button
(3);
24
InputControlSource
inputControlSource4
=
InputDeviceProfile
.
Button
(0);
25
InputControlSource
inputControlSource5
=
InputDeviceProfile
.
Button
(4);
26
InputControlSource
inputControlSource6
=
InputDeviceProfile
.
Button
(5);
27
InputControlSource
inputControlSource7
=
InputDeviceProfile
.
Button
(4);
28
InputControlSource
inputControlSource8
=
InputDeviceProfile
.
Button
(5);
29
InputControlSource
inputControlSource9
=
InputDeviceProfile
.
Button
(8);
30
InputControlSource
inputControlSource10
=
InputDeviceProfile
.
Button
(9);
31
InputControlMapping
inputControlMapping
=
InputDeviceProfile
.
DPadLeftMapping
(1);
32
if
(
inputControlMapping
==
null
||
inputControlMapping
!=
null
)
33
{
34
InputControlMapping
inputControlMapping2
=
InputDeviceProfile
.
DPadRightMapping
(1);
35
if
(
inputControlMapping2
==
null
||
inputControlMapping2
!=
null
)
36
{
37
InputControlMapping
inputControlMapping3
=
InputDeviceProfile
.
DPadUpMapping
(0);
38
if
(
inputControlMapping3
==
null
||
inputControlMapping3
!=
null
)
39
{
40
InputControlMapping
inputControlMapping4
=
InputDeviceProfile
.
DPadDownMapping
(0);
41
if
(
inputControlMapping4
==
null
||
inputControlMapping4
!=
null
)
42
{
43
return
;
44
}
45
}
46
}
47
}
48
}
49
throw
new
ArrayTypeMismatchException
();
50
}
51
52
// Token: 0x06000830 RID: 2096 RVA: 0x00025CE0 File Offset: 0x00023EE0
53
public
KiwitataNESWindowsNativeProfile
()
54
{
55
if
(!
true
)
56
{
57
}
58
base
..ctor();
59
}
60
}
61
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
InControl.InputControlMapping
Definition
InputControlMapping.cs:9
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.DPadDownMapping
static InputControlMapping DPadDownMapping(int analog)
Definition
InputDeviceProfile.cs:963
InControl.InputDeviceProfile.Button
static InputControlSource Button(int index)
Definition
InputDeviceProfile.cs:510
InControl.InputDeviceProfile
Definition
InputDeviceProfile.cs:13
InControl.NativeDeviceProfiles.KiwitataNESWindowsNativeProfile.Define
override void Define()
Definition
KiwitataNESWindowsNativeProfile.cs:11
InControl.NativeDeviceProfiles.KiwitataNESWindowsNativeProfile.KiwitataNESWindowsNativeProfile
KiwitataNESWindowsNativeProfile()
Definition
KiwitataNESWindowsNativeProfile.cs:53
InControl.NativeDeviceProfiles.KiwitataNESWindowsNativeProfile
Definition
KiwitataNESWindowsNativeProfile.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
KiwitataNESWindowsNativeProfile.cs
Generated by
1.10.0