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
PlayerTwoAxisAction.cs
Go to the documentation of this file.
1using System;
4
5namespace InControl
6{
7 // Token: 0x02000014 RID: 20
9 {
10 // Token: 0x1700003C RID: 60
11 // (get) Token: 0x060000E7 RID: 231 RVA: 0x00003BA0 File Offset: 0x00001DA0
12 // (set) Token: 0x060000E8 RID: 232 RVA: 0x00003BB4 File Offset: 0x00001DB4
13 public bool InvertXAxis
14 {
16 get
17 {
18 return this.<InvertXAxis>k__BackingField;
19 }
21 set
22 {
23 }
24 }
25
26 // Token: 0x1700003D RID: 61
27 // (get) Token: 0x060000E9 RID: 233 RVA: 0x00003BC4 File Offset: 0x00001DC4
28 // (set) Token: 0x060000EA RID: 234 RVA: 0x00003BD8 File Offset: 0x00001DD8
29 public bool InvertYAxis
30 {
32 get
33 {
34 return this.<InvertYAxis>k__BackingField;
35 }
37 set
38 {
39 }
40 }
41
42 // Token: 0x14000005 RID: 5
43 // (add) Token: 0x060000EB RID: 235 RVA: 0x00003BE8 File Offset: 0x00001DE8
44 // (remove) Token: 0x060000EC RID: 236 RVA: 0x00003C10 File Offset: 0x00001E10
46 {
48 add
49 {
51 if (@delegate != null && @delegate == null)
52 {
53 return;
54 }
55 }
57 remove
58 {
60 if (@delegate != null && @delegate == null)
61 {
62 return;
63 }
64 }
65 }
66
67 // Token: 0x1700003E RID: 62
68 // (get) Token: 0x060000ED RID: 237 RVA: 0x00003C38 File Offset: 0x00001E38
69 // (set) Token: 0x060000EE RID: 238 RVA: 0x00003C4C File Offset: 0x00001E4C
70 public object UserData
71 {
73 get
74 {
75 return this.<UserData>k__BackingField;
76 }
78 set
79 {
81 }
82 }
83
84 // Token: 0x060000EF RID: 239 RVA: 0x00003C60 File Offset: 0x00001E60
97
98 // Token: 0x060000F0 RID: 240 RVA: 0x00003C9C File Offset: 0x00001E9C
99 internal void Update(ulong updateTick, float deltaTime)
100 {
102 this.ProcessActionUpdate(playerAction);
104 this.ProcessActionUpdate(playerAction2);
106 this.ProcessActionUpdate(playerAction3);
108 this.ProcessActionUpdate(playerAction4);
110 if (playerAction5.enabled && playerAction5.ownerEnabled)
111 {
113 }
115 if (playerAction6.enabled && playerAction6.ownerEnabled)
116 {
118 }
119 bool flag = this.<InvertXAxis>k__BackingField;
120 if (playerAction6 == null)
121 {
122 }
124 if (playerAction7.enabled && playerAction7.ownerEnabled)
125 {
127 }
129 if (playerAction8.enabled && playerAction8.ownerEnabled)
130 {
132 }
133 if (playerAction8 == null)
134 {
135 }
136 if (!true)
137 {
138 }
139 if (true)
140 {
141 return;
142 }
143 if (!this.<InvertYAxis>k__BackingField)
144 {
145 }
146 }
147
148 // Token: 0x060000F1 RID: 241 RVA: 0x00003DA0 File Offset: 0x00001FA0
150 {
152 ulong <UpdateTick>k__BackingField2 = this.<UpdateTick>k__BackingField;
153 this.<UpdateTick>k__BackingField = <UpdateTick>k__BackingField;
158 if (onLastInputTypeChanged != null)
159 {
160 return;
161 }
162 }
163
164 // Token: 0x1700003F RID: 63
165 // (get) Token: 0x060000F2 RID: 242 RVA: 0x000025E1 File Offset: 0x000007E1
166 // (set) Token: 0x060000F3 RID: 243 RVA: 0x00003DE4 File Offset: 0x00001FE4
167 [Obsolete("Please set this property on device controls directly. It does nothing here.")]
168 public new float LowerDeadZone
169 {
170 get
171 {
172 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
173 }
174 set
175 {
176 }
177 }
178
179 // Token: 0x17000040 RID: 64
180 // (get) Token: 0x060000F4 RID: 244 RVA: 0x000025E1 File Offset: 0x000007E1
181 // (set) Token: 0x060000F5 RID: 245 RVA: 0x00003DF4 File Offset: 0x00001FF4
182 [Obsolete("Please set this property on device controls directly. It does nothing here.")]
183 public new float UpperDeadZone
184 {
185 get
186 {
187 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
188 }
189 set
190 {
191 }
192 }
193
194 // Token: 0x040000FA RID: 250
196
197 // Token: 0x040000FB RID: 251
199
200 // Token: 0x040000FC RID: 252
202
203 // Token: 0x040000FD RID: 253
205
206 // Token: 0x040000FE RID: 254
208 private bool <InvertXAxis>k__BackingField;
209
210 // Token: 0x040000FF RID: 255
212 private bool <InvertYAxis>k__BackingField;
213
214 // Token: 0x04000100 RID: 256
216
217 // Token: 0x04000101 RID: 257
220
221 // Token: 0x04000102 RID: 258
223 private object <UserData>k__BackingField;
224 }
225}
class f__AnonymousType0<< Count > j__TPar
PlayerTwoAxisAction(PlayerAction negativeXAction, PlayerAction positiveXAction, PlayerAction negativeYAction, PlayerAction positiveYAction)
void Update(ulong updateTick, float deltaTime)
void ProcessActionUpdate(PlayerAction action)
Action< BindingSourceType > OnLastInputTypeChanged
static Delegate Combine(Delegate a, Delegate b)
Definition Delegate.cs:255
static Delegate Remove(Delegate source, Delegate value)
Definition Delegate.cs:278