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

◆ HandleClick()

void Terraria.UI.UserInterface.HandleClick ( UserInterface::InputPointerCache cache,
GameTime time,
bool isDown,
UIElement mouseElement )
inlineprivate

Definition at line 187 of file UserInterface.cs.

188 {
189 bool wasDown = cache.WasDown;
190 if (mouseElement != null && !wasDown)
191 {
193 UserInterface.MouseElementEvent mouseDownEvent = cache.MouseDownEvent;
194 Vector2 mousePosition = this.MousePosition;
195 IntPtr invoke_impl = mouseDownEvent.invoke_impl;
196 IntPtr method_code = mouseDownEvent.method_code;
197 IntPtr method = mouseDownEvent.method;
198 UIElement lastClicked = cache.LastClicked;
199 TimeSpan totalGameTime = time.totalGameTime;
200 double lastTimeDown = cache.LastTimeDown;
201 UserInterface.MouseElementEvent doubleClickEvent = cache.DoubleClickEvent;
207 double num;
208 cache.LastTimeDown = num;
209 return;
210 }
211 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, Terraria.UI.UserInterface.MousePosition, and Microsoft.Xna.Framework.GameTime.totalGameTime.