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

◆ DrawMainButtons()

void GUIPlayerCreateMenu.DrawMainButtons ( )
inlineprivate

Definition at line 388 of file GUIPlayerCreateMenu.cs.

389 {
390 bool mouseLeft = Main.mouseLeft;
391 bool mouseLeftRelease = Main.mouseLeftRelease;
392 string textValue = Language.GetTextValue("LegacyMenu.28");
393 if (this.displayOptions)
394 {
395 return;
396 }
397 bool flag = this.editingPlayerName;
398 string textValue2 = Language.GetTextValue("LegacyMenu.5");
399 if (this.displayOptions)
400 {
401 return;
402 }
403 bool flag2 = this.editingPlayerName;
404 if (this.displayOptions)
405 {
406 this.CloseOptions();
407 return;
408 }
409 if (this.editingPlayerName)
410 {
411 return;
412 }
413 this.Back();
414 }
class f__AnonymousType0<< Count > j__TPar
static string GetTextValue(string key)
Definition Language.cs:54
static bool mouseLeftRelease
Definition Main.cs:2029
static bool mouseLeft
Definition Main.cs:671

References Back(), CloseOptions(), displayOptions, editingPlayerName, Terraria.Localization.Language.GetTextValue(), j__TPar, Terraria.Main.mouseLeft, and Terraria.Main.mouseLeftRelease.

Referenced by Draw().