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

◆ ToggleTakingText()

void Terraria.GameContent.UI.Elements.UISearchBar.ToggleTakingText ( )
inline

Definition at line 263 of file UISearchBar.cs.

264 {
265 for (;;)
266 {
267 bool flag = this.isWritingText;
268 UITextBox text = this._text;
269 this.isWritingText = flag;
271 if (!flag)
272 {
273 }
274 Main.clrInput();
275 if (this.isWritingText)
276 {
277 break;
278 }
279 if (this.OnEndTakingInput == null)
280 {
281 return;
282 }
283 }
285 if (onStartTakingInput != null)
286 {
287 IntPtr invoke_impl = onStartTakingInput.invoke_impl;
288 IntPtr method_code = onStartTakingInput.method_code;
289 IntPtr method = onStartTakingInput.method;
290 return;
291 }
292 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.GameContent.UI.Elements.UISearchBar._text, Terraria.Main.clrInput(), Terraria.GameContent.UI.Elements.UISearchBar.isWritingText, j__TPar, Terraria.GameContent.UI.Elements.UISearchBar.OnEndTakingInput, Terraria.GameContent.UI.Elements.UISearchBar.OnStartTakingInput, and System.text.

Referenced by Terraria.GameContent.UI.Elements.UICreativeInfiniteItemsDisplay.Click_SearchArea(), Terraria.GameContent.UI.States.UIBestiaryTest.Click_SearchArea(), Terraria.GameContent.UI.Elements.UISearchBar.DrawSelf(), Terraria.GameContent.UI.Elements.UICreativeInfiniteItemsDisplay.GoBackHere(), Terraria.GameContent.UI.States.UIBestiaryTest.GoBackHere(), Terraria.GameContent.UI.Elements.UICreativeInfiniteItemsDisplay.Update(), and Terraria.GameContent.UI.States.UIBestiaryTest.Update().