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

◆ DrawSelf()

override void Terraria.GameContent.UI.Elements.UISearchBar.DrawSelf ( SpriteBatch spriteBatch)
inlineprotectedvirtual

Reimplemented from Terraria.UI.UIElement.

Definition at line 233 of file UISearchBar.cs.

234 {
235 base.DrawSelf(spriteBatch);
236 bool flag = this.isWritingText;
237 if (flag)
238 {
239 if (!flag)
240 {
241 }
242 if (!flag)
243 {
244 }
245 int screenWidth = Main.screenWidth;
246 float x = this._text._dimensions.X;
248 int bottom = rectangle.Bottom;
249 string text = this.actualContents;
250 this.ToggleTakingText();
251 long num = 0L;
252 string text2;
253 this.SetContents(text2, num != 0L);
254 int screenWidth2 = Main.screenWidth;
255 UITextBox text3 = this._text;
256 float x2 = text3._dimensions.X;
259 }
260 }
class f__AnonymousType0<< Count > j__TPar
void SetContents(string contents, bool forced=false)

References Terraria.GameContent.UI.Elements.UISearchBar._text, Terraria.GameContent.UI.Elements.UISearchBar.actualContents, Microsoft.Xna.Framework.Rectangle.Bottom, Terraria.GameContent.UI.Elements.UISearchBar.isWritingText, j__TPar, System.L, Terraria.Main.screenWidth, Terraria.GameContent.UI.Elements.UISearchBar.SetContents(), System.text, and Terraria.GameContent.UI.Elements.UISearchBar.ToggleTakingText().