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
GamePadThumbSticks.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x02000347 RID: 839
7 public struct GamePadThumbSticks
8 {
9 // Token: 0x17000250 RID: 592
10 // (get) Token: 0x06001576 RID: 5494 RVA: 0x00060890 File Offset: 0x0005EA90
12 {
13 get
14 {
15 Vector2 vector;
16 return vector;
17 }
18 }
19
20 // Token: 0x17000251 RID: 593
21 // (get) Token: 0x06001577 RID: 5495 RVA: 0x000608A0 File Offset: 0x0005EAA0
23 {
24 get
25 {
26 float x = this._right.X;
27 float y = this._right.Y;
28 Vector2 vector;
29 return vector;
30 }
31 }
32
33 // Token: 0x06001578 RID: 5496 RVA: 0x000608C8 File Offset: 0x0005EAC8
37
38 // Token: 0x06001579 RID: 5497 RVA: 0x000608D8 File Offset: 0x0005EAD8
42
43 // Token: 0x0600157A RID: 5498 RVA: 0x00060908 File Offset: 0x0005EB08
45 {
46 Vector2 vector;
47 return vector;
48 }
49
50 // Token: 0x0600157B RID: 5499 RVA: 0x00060930 File Offset: 0x0005EB30
52 {
53 Vector2 vector;
54 return vector;
55 }
56
57 // Token: 0x0600157C RID: 5500 RVA: 0x000021DB File Offset: 0x000003DB
58 private float ExcludeAxisDeadZone(float value, float deadZone)
59 {
60 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
61 }
62
63 // Token: 0x0600157D RID: 5501 RVA: 0x00060944 File Offset: 0x0005EB44
65 {
66 if (!true)
67 {
68 }
69 return 1;
70 }
71
72 // Token: 0x0600157E RID: 5502 RVA: 0x00060960 File Offset: 0x0005EB60
73 public static bool operator ==(GamePadThumbSticks left, GamePadThumbSticks right)
74 {
75 float x = left._left.X;
76 float y = left._left.Y;
77 if (!true)
78 {
79 }
80 float x2 = left._right.X;
81 float y2 = left._right.Y;
82 if (!true)
83 {
84 }
85 bool flag;
86 return flag;
87 }
88
89 // Token: 0x0600157F RID: 5503 RVA: 0x000609B0 File Offset: 0x0005EBB0
90 public static bool operator !=(GamePadThumbSticks left, GamePadThumbSticks right)
91 {
92 float y = left._right.Y;
93 bool flag;
94 return flag;
95 }
96
97 // Token: 0x06001580 RID: 5504 RVA: 0x000609CC File Offset: 0x0005EBCC
98 public override bool Equals(object obj)
99 {
100 if (obj != null)
101 {
102 }
103 float y = this._right.Y;
104 bool flag;
105 return flag;
106 }
107
108 // Token: 0x06001581 RID: 5505 RVA: 0x000609EC File Offset: 0x0005EBEC
109 public override int GetHashCode()
110 {
111 int num;
112 return num;
113 }
114
115 // Token: 0x06001582 RID: 5506 RVA: 0x000609FC File Offset: 0x0005EBFC
116 public override string ToString()
117 {
118 string text;
119 string text2;
120 if (("[GamePadThumbSticks: Left=" == null || "[GamePadThumbSticks: Left=" != null) && (text == null || text != null) && (", Right=" == null || ", Right=" != null) && (text2 == null || text2 != null) && ("]" == null || "]" != null))
121 {
122 string text3;
123 return text3;
124 }
125 throw new ArrayTypeMismatchException();
126 }
127
128 // Token: 0x0400230E RID: 8974
129 private const float leftThumbDeadZone = 0.24f;
130
131 // Token: 0x0400230F RID: 8975
132 private const float rightThumbDeadZone = 0.265f;
133
134 // Token: 0x04002310 RID: 8976
136
137 // Token: 0x04002311 RID: 8977
139
140 // Token: 0x04002312 RID: 8978
142 }
143}
class f__AnonymousType0<< Count > j__TPar
Vector2 ExcludeIndependentAxesDeadZone(Vector2 value, float deadZone)
static bool operator==(GamePadThumbSticks left, GamePadThumbSticks right)
GamePadThumbSticks(Vector2 leftPosition, Vector2 rightPosition, GamePadDeadZone leftDeadZoneMode, GamePadDeadZone rightDeadZoneMode)
GamePadThumbSticks(Vector2 leftPosition, Vector2 rightPosition)
Vector2 ExcludeCircularDeadZone(Vector2 value, float deadZone)
Vector2 ApplyDeadZone(GamePadDeadZone deadZoneMode, float deadZone, Vector2 thumbstickPosition)
float ExcludeAxisDeadZone(float value, float deadZone)
static bool operator!=(GamePadThumbSticks left, GamePadThumbSticks right)