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

◆ GetTouchCount()

int CursorManager.GetTouchCount ( )
inline

Definition at line 157 of file CursorManager.cs.

158 {
159 do
160 {
161 bool flag = this.emuTouchFromMouse;
162 if (flag)
163 {
164 if (!flag)
165 {
166 }
167 if (flag)
168 {
169 goto IL_006C;
170 }
171 long num = 0L;
172 bool flag2 = this.IsMouseActive((int)num);
173 if (!this.mouseActive)
174 {
175 int num2 = 1;
176 this.mouseActive = num2 != 0;
177 }
178 int touchCount = this._touchCount;
179 this._touchCount = touchCount;
180 }
181 }
182 while (this.ActivateMouseMode && !this.updatingEMUMouseTouches);
183 return Input.touchCount;
184 IL_006C:
185 return this._touchCount;
186 }
class f__AnonymousType0<< Count > j__TPar
bool IsMouseActive(int index)
bool updatingEMUMouseTouches
static int touchCount
Definition Input.cs:199

References _touchCount, ActivateMouseMode, emuTouchFromMouse, IsMouseActive(), j__TPar, System.L, mouseActive, UnityEngine.Input.touchCount, and updatingEMUMouseTouches.