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
PlayerOneAxisAction.cs
Go to the documentation of this file.
1using System;
4
5namespace InControl
6{
7 // Token: 0x02000013 RID: 19
9 {
10 // Token: 0x14000004 RID: 4
11 // (add) Token: 0x060000DC RID: 220 RVA: 0x00003A04 File Offset: 0x00001C04
12 // (remove) Token: 0x060000DD RID: 221 RVA: 0x00003A2C File Offset: 0x00001C2C
14 {
16 add
17 {
19 if (@delegate != null && @delegate == null)
20 {
21 return;
22 }
23 }
25 remove
26 {
28 if (@delegate != null && @delegate == null)
29 {
30 return;
31 }
32 }
33 }
34
35 // Token: 0x17000039 RID: 57
36 // (get) Token: 0x060000DE RID: 222 RVA: 0x00003A54 File Offset: 0x00001C54
37 // (set) Token: 0x060000DF RID: 223 RVA: 0x00003A68 File Offset: 0x00001C68
38 public object UserData
39 {
41 get
42 {
43 return this.<UserData>k__BackingField;
44 }
46 set
47 {
49 }
50 }
51
52 // Token: 0x060000E0 RID: 224 RVA: 0x00003A7C File Offset: 0x00001C7C
62
63 // Token: 0x060000E1 RID: 225 RVA: 0x00003ABC File Offset: 0x00001CBC
64 internal void Update(ulong updateTick, float deltaTime)
65 {
67 this.ProcessActionUpdate(playerAction);
69 this.ProcessActionUpdate(playerAction2);
71 if (playerAction3.enabled && playerAction3.ownerEnabled)
72 {
74 }
76 if (playerAction4.enabled && playerAction4.ownerEnabled)
77 {
79 }
80 base.Commit();
81 }
82
83 // Token: 0x060000E2 RID: 226 RVA: 0x00003B3C File Offset: 0x00001D3C
85 {
87 ulong <UpdateTick>k__BackingField2 = this.<UpdateTick>k__BackingField;
88 this.<UpdateTick>k__BackingField = <UpdateTick>k__BackingField;
93 if (onLastInputTypeChanged != null)
94 {
95 return;
96 }
97 }
98
99 // Token: 0x1700003A RID: 58
100 // (get) Token: 0x060000E3 RID: 227 RVA: 0x000025E1 File Offset: 0x000007E1
101 // (set) Token: 0x060000E4 RID: 228 RVA: 0x00003B80 File Offset: 0x00001D80
102 [Obsolete("Please set this property on device controls directly. It does nothing here.")]
103 public new float LowerDeadZone
104 {
105 get
106 {
107 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
108 }
109 set
110 {
111 }
112 }
113
114 // Token: 0x1700003B RID: 59
115 // (get) Token: 0x060000E5 RID: 229 RVA: 0x000025E1 File Offset: 0x000007E1
116 // (set) Token: 0x060000E6 RID: 230 RVA: 0x00003B90 File Offset: 0x00001D90
117 [Obsolete("Please set this property on device controls directly. It does nothing here.")]
118 public new float UpperDeadZone
119 {
120 get
121 {
122 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
123 }
124 set
125 {
126 }
127 }
128
129 // Token: 0x040000F5 RID: 245
131
132 // Token: 0x040000F6 RID: 246
134
135 // Token: 0x040000F7 RID: 247
137
138 // Token: 0x040000F8 RID: 248
141
142 // Token: 0x040000F9 RID: 249
144 private object <UserData>k__BackingField;
145 }
146}
class f__AnonymousType0<< Count > j__TPar
void Update(ulong updateTick, float deltaTime)
Action< BindingSourceType > OnLastInputTypeChanged
PlayerOneAxisAction(PlayerAction negativeAction, PlayerAction positiveAction)
void ProcessActionUpdate(PlayerAction action)
static Delegate Combine(Delegate a, Delegate b)
Definition Delegate.cs:255
static Delegate Remove(Delegate source, Delegate value)
Definition Delegate.cs:278