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

◆ GetDisplayName()

string VirtualControlsProfile_Layout.GetDisplayName ( float maxWidth = 800f)
inline

Definition at line 37 of file VirtualControlsProfile_Layout.cs.

38 {
39 bool flag = string.IsNullOrEmpty(this.EditedName);
40 string id = this.Id;
41 string textValue = Language.GetTextValue("VCProfileName." + id);
43 Vector2 vector = spriteFont.MeasureString(textValue);
44 string text = textValue + "...";
45 long num = 0L;
47 Vector2 vector2 = spriteFont2.MeasureString(text);
48 int stringLength = textValue._stringLength;
49 long num2 = 0L;
50 return textValue.Substring((int)num2, (int)num);
51 }
class f__AnonymousType0<< Count > j__TPar
static string GetTextValue(string key)
Definition Language.cs:54

References EditedName, Terraria.Localization.Language.GetTextValue(), Id, j__TPar, System.L, and System.text.