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

◆ WasSplit()

bool GUIInventorySplitStack.WasSplit ( )
inline

Definition at line 109 of file GUIInventorySplitStack.cs.

110 {
111 if (!true)
112 {
113 }
115 DateTime dateTime = this.lastSplitTime;
116 double totalSeconds = (now - dateTime).TotalSeconds;
118 float x = this.lastSplitPosition.X;
119 float y = this.lastSplitPosition.Y;
120 Vector2 vector;
121 float num = vector.Length();
122 return true;
123 }
class f__AnonymousType0<< Count > j__TPar
static Vector2 GetUICursorPosition()
Definition Mouse.cs:358
static DateTime Now
Definition DateTime.cs:530

References Microsoft.Xna.Framework.Input.Mouse.GetUICursorPosition(), j__TPar, lastSplitPosition, lastSplitTime, Microsoft.Xna.Framework.Vector2.Length(), System.DateTime.Now, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.