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
InputControlState.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
4
namespace
InControl
5
{
6
// Token: 0x02000022 RID: 34
7
public
struct
InputControlState
8
{
9
// Token: 0x06000164 RID: 356 RVA: 0x00004B00 File Offset: 0x00002D00
10
public
void
Reset
()
11
{
12
}
13
14
// Token: 0x06000165 RID: 357 RVA: 0x00004B10 File Offset: 0x00002D10
15
public
void
Set
(
float
value
)
16
{
17
if
(!
true
)
18
{
19
}
20
bool
flag =
Utility
.
IsNotZero
(
value
);
21
this.State
=
true
;
22
}
23
24
// Token: 0x06000166 RID: 358 RVA: 0x00004B30 File Offset: 0x00002D30
25
public
void
Set
(
float
value
,
float
threshold)
26
{
27
if
(!
true
)
28
{
29
}
30
bool
flag =
Utility
.
AbsoluteIsOverThreshold
(
value
, threshold);
31
this.State
=
true
;
32
}
33
34
// Token: 0x06000167 RID: 359 RVA: 0x00004B54 File Offset: 0x00002D54
35
public
void
Set
(
bool
state
)
36
{
37
}
38
39
// Token: 0x06000168 RID: 360 RVA: 0x000025E1 File Offset: 0x000007E1
40
public
static
implicit
operator
bool(
InputControlState
state
)
41
{
42
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
43
}
44
45
// Token: 0x06000169 RID: 361 RVA: 0x000025E1 File Offset: 0x000007E1
46
public
static
implicit
operator
float(
InputControlState
state
)
47
{
48
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
49
}
50
51
// Token: 0x0600016A RID: 362 RVA: 0x00004B64 File Offset: 0x00002D64
52
public
static
bool
operator ==
(
InputControlState
a,
InputControlState
b)
53
{
54
bool
flag;
55
return
flag;
56
}
57
58
// Token: 0x0600016B RID: 363 RVA: 0x00004B78 File Offset: 0x00002D78
59
public
static
bool
operator !=
(
InputControlState
a,
InputControlState
b)
60
{
61
bool
flag;
62
return
flag;
63
}
64
65
// Token: 0x04000141 RID: 321
66
public
bool
State
;
67
68
// Token: 0x04000142 RID: 322
69
public
float
Value
;
70
71
// Token: 0x04000143 RID: 323
72
public
float
RawValue
;
73
}
74
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
InControl.Utility.AbsoluteIsOverThreshold
static bool AbsoluteIsOverThreshold(float value, float threshold)
Definition
Utility.cs:231
InControl.Utility.IsNotZero
static bool IsNotZero(float value)
Definition
Utility.cs:213
InControl.Utility
Definition
Utility.cs:10
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
InControl
Definition
BindingListenOptions.cs:4
System.ExceptionArgument.value
@ value
System.ExceptionArgument.state
@ state
System
Definition
__ComObject.cs:4
InControl.InputControlState.Reset
void Reset()
Definition
InputControlState.cs:10
InControl.InputControlState.State
bool State
Definition
InputControlState.cs:66
InControl.InputControlState.RawValue
float RawValue
Definition
InputControlState.cs:72
InControl.InputControlState.Set
void Set(bool state)
Definition
InputControlState.cs:35
InControl.InputControlState.Set
void Set(float value)
Definition
InputControlState.cs:15
InControl.InputControlState.operator==
static bool operator==(InputControlState a, InputControlState b)
Definition
InputControlState.cs:52
InControl.InputControlState.operator!=
static bool operator!=(InputControlState a, InputControlState b)
Definition
InputControlState.cs:59
InControl.InputControlState.Set
void Set(float value, float threshold)
Definition
InputControlState.cs:25
InControl.InputControlState.Value
float Value
Definition
InputControlState.cs:69
InControl.InputControlState
Definition
InputControlState.cs:8
source
InControl
InputControlState.cs
Generated by
1.10.0