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
InputDeviceMatcher.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
using
UnityEngine
;
4
5
namespace
InControl
6
{
7
// Token: 0x02000033 RID: 51
8
[
Serializable
]
9
public
struct
InputDeviceMatcher
10
{
11
// Token: 0x170000C9 RID: 201
12
// (get) Token: 0x06000252 RID: 594 RVA: 0x000025E1 File Offset: 0x000007E1
13
// (set) Token: 0x06000253 RID: 595 RVA: 0x00007AC4 File Offset: 0x00005CC4
14
public
OptionalUInt16
VendorID
15
{
16
get
17
{
18
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
19
}
20
set
21
{
22
this.vendorID
=
value
;
23
}
24
}
25
26
// Token: 0x170000CA RID: 202
27
// (get) Token: 0x06000254 RID: 596 RVA: 0x00007AD8 File Offset: 0x00005CD8
28
// (set) Token: 0x06000255 RID: 597 RVA: 0x00007AEC File Offset: 0x00005CEC
29
public
OptionalUInt16
ProductID
30
{
31
get
32
{
33
return
this.
productID
;
34
}
35
set
36
{
37
this.productID
=
value
;
38
}
39
}
40
41
// Token: 0x170000CB RID: 203
42
// (get) Token: 0x06000256 RID: 598 RVA: 0x00007B00 File Offset: 0x00005D00
43
// (set) Token: 0x06000257 RID: 599 RVA: 0x00007B14 File Offset: 0x00005D14
44
public
OptionalUInt32
VersionNumber
45
{
46
get
47
{
48
return
this.
versionNumber
;
49
}
50
set
51
{
52
this.versionNumber
=
value
;
53
}
54
}
55
56
// Token: 0x170000CC RID: 204
57
// (get) Token: 0x06000258 RID: 600 RVA: 0x00007B28 File Offset: 0x00005D28
58
// (set) Token: 0x06000259 RID: 601 RVA: 0x00007B3C File Offset: 0x00005D3C
59
public
OptionalInputDeviceDriverType
DriverType
60
{
61
get
62
{
63
return
this.
driverType
;
64
}
65
set
66
{
67
this.driverType
=
value
;
68
}
69
}
70
71
// Token: 0x170000CD RID: 205
72
// (get) Token: 0x0600025A RID: 602 RVA: 0x00007B50 File Offset: 0x00005D50
73
// (set) Token: 0x0600025B RID: 603 RVA: 0x00007B64 File Offset: 0x00005D64
74
public
OptionalInputDeviceTransportType
TransportType
75
{
76
get
77
{
78
return
this.
transportType
;
79
}
80
set
81
{
82
this.transportType
=
value
;
83
}
84
}
85
86
// Token: 0x170000CE RID: 206
87
// (get) Token: 0x0600025C RID: 604 RVA: 0x00007B78 File Offset: 0x00005D78
88
// (set) Token: 0x0600025D RID: 605 RVA: 0x00007B8C File Offset: 0x00005D8C
89
public
string
NameLiteral
90
{
91
get
92
{
93
return
this.
nameLiteral
;
94
}
95
set
96
{
97
this.nameLiteral
=
value
;
98
}
99
}
100
101
// Token: 0x170000CF RID: 207
102
// (get) Token: 0x0600025E RID: 606 RVA: 0x00007BA0 File Offset: 0x00005DA0
103
// (set) Token: 0x0600025F RID: 607 RVA: 0x00007BB4 File Offset: 0x00005DB4
104
public
string
NamePattern
105
{
106
get
107
{
108
return
this.
namePattern
;
109
}
110
set
111
{
112
this.namePattern
=
value
;
113
}
114
}
115
116
// Token: 0x06000260 RID: 608 RVA: 0x00007BC8 File Offset: 0x00005DC8
117
internal
bool
Matches
(
InputDeviceInfo
deviceInfo
)
118
{
119
ushort num =
deviceInfo
.vendorID;
120
OptionalUInt16
optionalUInt
= this.
productID
;
121
ushort
num2
=
deviceInfo
.productID;
122
OptionalUInt32
optionalUInt2
= this.
versionNumber
;
123
uint
num3
=
deviceInfo
.versionNumber;
124
OptionalInputDeviceDriverType
optionalInputDeviceDriverType
= this.
driverType
;
125
InputDeviceDriverType
inputDeviceDriverType
=
deviceInfo
.driverType;
126
OptionalInputDeviceTransportType
optionalInputDeviceTransportType
= this.
transportType
;
127
InputDeviceTransportType
inputDeviceTransportType
=
deviceInfo
.transportType;
128
bool
flag =
string
.IsNullOrEmpty(this.
nameLiteral
);
129
string
text
= this.
nameLiteral
;
130
bool
flag2
=
string
.IsNullOrEmpty(this.
namePattern
);
131
string
text2 = this.
namePattern
;
132
return
true
;
133
}
134
135
// Token: 0x0400024E RID: 590
136
[
Hexadecimal
]
137
[
SerializeField
]
138
private
OptionalUInt16
vendorID
;
139
140
// Token: 0x0400024F RID: 591
141
[
SerializeField
]
142
private
OptionalUInt16
productID
;
143
144
// Token: 0x04000250 RID: 592
145
[
SerializeField
]
146
[
Hexadecimal
]
147
private
OptionalUInt32
versionNumber
;
148
149
// Token: 0x04000251 RID: 593
150
[
SerializeField
]
151
private
OptionalInputDeviceDriverType
driverType
;
152
153
// Token: 0x04000252 RID: 594
154
[
SerializeField
]
155
private
OptionalInputDeviceTransportType
transportType
;
156
157
// Token: 0x04000253 RID: 595
158
[
SerializeField
]
159
private
string
nameLiteral
;
160
161
// Token: 0x04000254 RID: 596
162
[
SerializeField
]
163
private
string
namePattern
;
164
}
165
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
UnityEngine.SerializeField
Definition
SerializeField.cs:9
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
InControl.InputDeviceDriverType
InputDeviceDriverType
Definition
InputDeviceDriverType.cs:8
InControl.InputDeviceTransportType
InputDeviceTransportType
Definition
InputDeviceTransportType.cs:7
InControl
Definition
BindingListenOptions.cs:4
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.ExceptionArgument.text
@ text
System.ExceptionArgument.value
@ value
System
Definition
__ComObject.cs:4
UnityEngine
Definition
_AndroidJNIHelper.cs:6
InControl.InputDeviceInfo
Definition
InputDeviceInfo.cs:7
InControl.InputDeviceMatcher.transportType
OptionalInputDeviceTransportType transportType
Definition
InputDeviceMatcher.cs:155
InControl.InputDeviceMatcher.nameLiteral
string nameLiteral
Definition
InputDeviceMatcher.cs:159
InControl.InputDeviceMatcher.NamePattern
string NamePattern
Definition
InputDeviceMatcher.cs:105
InControl.InputDeviceMatcher.NameLiteral
string NameLiteral
Definition
InputDeviceMatcher.cs:90
InControl.InputDeviceMatcher.VersionNumber
OptionalUInt32 VersionNumber
Definition
InputDeviceMatcher.cs:45
InControl.InputDeviceMatcher.productID
OptionalUInt16 productID
Definition
InputDeviceMatcher.cs:142
InControl.InputDeviceMatcher.namePattern
string namePattern
Definition
InputDeviceMatcher.cs:163
InControl.InputDeviceMatcher.VendorID
OptionalUInt16 VendorID
Definition
InputDeviceMatcher.cs:15
InControl.InputDeviceMatcher.driverType
OptionalInputDeviceDriverType driverType
Definition
InputDeviceMatcher.cs:151
InControl.InputDeviceMatcher.vendorID
OptionalUInt16 vendorID
Definition
InputDeviceMatcher.cs:138
InControl.InputDeviceMatcher.DriverType
OptionalInputDeviceDriverType DriverType
Definition
InputDeviceMatcher.cs:60
InControl.InputDeviceMatcher.versionNumber
OptionalUInt32 versionNumber
Definition
InputDeviceMatcher.cs:147
InControl.InputDeviceMatcher.Matches
bool Matches(InputDeviceInfo deviceInfo)
Definition
InputDeviceMatcher.cs:117
InControl.InputDeviceMatcher.ProductID
OptionalUInt16 ProductID
Definition
InputDeviceMatcher.cs:30
InControl.InputDeviceMatcher
Definition
InputDeviceMatcher.cs:10
InControl.OptionalInputDeviceDriverType
Definition
OptionalInputDeviceDriverType.cs:10
InControl.OptionalInputDeviceTransportType
Definition
OptionalInputDeviceTransportType.cs:10
InControl.OptionalUInt16
Definition
OptionalUInt16.cs:11
InControl.OptionalUInt32
Definition
OptionalUInt32.cs:11
source
InControl
InputDeviceMatcher.cs
Generated by
1.10.0