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.
1using System;
3
4namespace 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
53 {
54 bool flag;
55 return flag;
56 }
57
58 // Token: 0x0600016B RID: 363 RVA: 0x00004B78 File Offset: 0x00002D78
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}
class f__AnonymousType0<< Count > j__TPar
static bool AbsoluteIsOverThreshold(float value, float threshold)
Definition Utility.cs:231
static bool IsNotZero(float value)
Definition Utility.cs:213
static bool operator==(InputControlState a, InputControlState b)
static bool operator!=(InputControlState a, InputControlState b)
void Set(float value, float threshold)