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

◆ SetText() [1/3]

override void Terraria.GameContent.UI.Elements.UITextBox.SetText ( string text,
float textScale,
bool large )
inline

Definition at line 26 of file UITextBox.cs.

27 {
28 int maxLength = this._maxLength;
29 int stringLength = text._stringLength;
30 long num = 0L;
31 string text2 = text.Substring((int)num, maxLength);
32 string text3 = base.Text;
33 int stringLength2 = text3._stringLength;
34 int cursor = this._cursor;
35 if (text3 == null)
36 {
37 }
40 }
class f__AnonymousType0<< Count > j__TPar
static byte Min(byte val1, byte val2)
Definition Math.cs:152

References Terraria.GameContent.UI.Elements.UITextBox._cursor, Terraria.GameContent.UI.Elements.UITextBox._maxLength, j__TPar, System.L, System.Math.Min(), and System.text.