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

◆ Update()

void Terraria.UI.UserInterface.Update ( GameTime time)
inline

Definition at line 146 of file UserInterface.cs.

147 {
148 UIState currentState = this._currentState;
149 if (currentState == null)
150 {
151 return;
152 }
153 this.GetMousePosition();
154 if (currentState == null)
155 {
156 }
157 if (currentState != null)
158 {
159 UIState currentState2 = this._currentState;
160 float x = this.MousePosition.X;
161 float y = this.MousePosition.Y;
162 return;
163 }
164 long num = 0L;
165 TimeSpan elapsedGameTime = time.elapsedGameTime;
167 if (elapsedGameTime == null)
168 {
169 }
170 UIElement lastElementHover = this._lastElementHover;
171 double num2;
173 if (lastElementHover != null)
174 {
175 Vector2 mousePosition = this.MousePosition;
176 }
177 if (num != 0L)
178 {
180 }
183 bool mouseLeft = Main.mouseLeft;
184 }
class f__AnonymousType0<< Count > j__TPar
UserInterface.InputPointerCache LeftMouse

References Terraria.UI.UserInterface._clickDisabledTimeRemaining, Terraria.UI.UserInterface._currentState, Terraria.UI.UserInterface._lastElementHover, Microsoft.Xna.Framework.GameTime.elapsedGameTime, Terraria.UI.UserInterface.GetMousePosition(), j__TPar, System.L, Terraria.UI.UserInterface.LeftMouse, Terraria.Main.mouseLeft, Terraria.UI.UserInterface.MousePosition, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.

Referenced by Terraria.GameContent.Creative.CreativeUI.Update().