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

◆ SetContents()

void Terraria.GameContent.UI.Elements.UISearchBar.SetContents ( string contents,
bool forced = false )
inline

Definition at line 157 of file UISearchBar.cs.

158 {
159 bool flag = this.actualContents == contents;
160 this.actualContents = contents;
161 bool flag2 = string.IsNullOrEmpty(contents);
162 UITextBox text = this._text;
164 UITextBox text2 = this._text;
165 float textScale = this._textScale;
167 }
class f__AnonymousType0<< Count > j__TPar
UIElement< Parent > k__BackingField

References Terraria.GameContent.UI.Elements.UISearchBar._text, Terraria.GameContent.UI.Elements.UISearchBar._textScale, Terraria.GameContent.UI.Elements.UISearchBar._textToShowWhenEmpty, j__TPar, Terraria.UI.UIElement.k__BackingField, and System.text.

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