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

◆ DrawCategoryButtons()

void GUIPlayerCreateMenu.DrawCategoryButtons ( )
inlineprivate

Definition at line 426 of file GUIPlayerCreateMenu.cs.

427 {
428 int num = 1;
429 if (num == 0)
430 {
431 }
432 bool mouseLeft = Main.mouseLeft;
433 if (num == 0)
434 {
435 }
436 bool mouseLeftRelease = Main.mouseLeftRelease;
437 int num2 = 17096;
439 string textValue = Language.GetTextValue("Mobile.ControlsPageNext");
440 string textValue2 = Language.GetTextValue("Mobile.ControlsPagePrevious");
443 if (currentSelection == GUIPlayerCreateMenu.ItemSelection.Info)
444 {
445 }
446 if (this.displayOptions)
447 {
448 this.CloseOptions();
449 }
450 if (this.editingPlayerName)
451 {
452 this.CloseNameEdit();
453 }
457 if (currentSelection2 == GUIPlayerCreateMenu.ItemSelection.Info)
458 {
459 }
461 string textValue3 = Language.GetTextValue("LegacyMenu.33");
462 Color shirtColor = Main.PendingPlayer.shirtColor;
466 {
467 int num3 = 6;
469 if (num3 == 0)
470 {
471 }
472 }
473 string textValue4 = Language.GetTextValue("LegacyMenu.34");
474 Color underShirtColor = Main.PendingPlayer.underShirtColor;
478 {
479 int num4 = 7;
481 if (num4 == 0)
482 {
483 }
484 }
485 string textValue5 = Language.GetTextValue("LegacyMenu.35");
486 Color pantsColor = Main.PendingPlayer.pantsColor;
490 {
491 int num5 = 8;
493 if (num5 == 0)
494 {
495 }
496 }
497 string textValue6 = Language.GetTextValue("LegacyMenu.36");
498 Color shoeColor = Main.PendingPlayer.shoeColor;
502 {
503 int num6 = 9;
505 if (num6 == 0)
506 {
507 }
508 }
509 string textValue7 = Language.GetTextValue("LegacyMenu.18");
510 Color hairColor = Main.PendingPlayer.hairColor;
514 {
516 int num7 = 4;
519 if (controllerInput == null)
520 {
521 }
522 }
523 string textValue8 = Language.GetTextValue("LegacyMenu.18");
527 {
529 {
530 }
531 }
533 {
534 }
535 int hair = Main.PendingPlayer.hair;
536 string textValue9 = Language.GetTextValue("LegacyMenu.18");
541 {
542 int num8 = 5;
544 }
545 string textValue10 = Language.GetTextValue("LegacyMenu.19");
546 Color skinColor = Main.PendingPlayer.skinColor;
550 {
551 int num9 = 2;
553 }
554 string textValue11 = Language.GetTextValue("LegacyMenu.20");
555 Color eyeColor = Main.PendingPlayer.eyeColor;
559 {
560 int num10 = 3;
562 }
564 string textValue12 = Language.GetTextValue("Mobile.PlayerCreateGender");
569 {
570 int num11 = 1;
572 }
574 }
class f__AnonymousType0<< Count > j__TPar
readonly GUIPlayerCreateController_HairStyle HairStlyePage
GUIPlayerCreateMenu.ItemSelection CurrentSelection
GUIPlayerCreateController _controllerInput
static string GetTextValue(string key)
Definition Language.cs:54
static bool mouseLeftRelease
Definition Main.cs:2029
static Player PendingPlayer
Definition Main.cs:2715
static bool mouseLeft
Definition Main.cs:671
Microsoft.Xna.Framework.Graphics.Color pantsColor
Definition Player.cs:22628
Microsoft.Xna.Framework.Graphics.Color shoeColor
Definition Player.cs:22631
Microsoft.Xna.Framework.Graphics.Color hairColor
Definition Player.cs:22613
Microsoft.Xna.Framework.Graphics.Color skinColor
Definition Player.cs:22616
Microsoft.Xna.Framework.Graphics.Color eyeColor
Definition Player.cs:22619
Microsoft.Xna.Framework.Graphics.Color shirtColor
Definition Player.cs:22622
Microsoft.Xna.Framework.Graphics.Color underShirtColor
Definition Player.cs:22625

References _controllerInput, GUIPlayerCreateController.Activate(), GUIPlayerCreateController_HairStyle.Activate(), CloseNameEdit(), CloseOptions(), CurrentSelection, displayOptions, editingPlayerName, Terraria.Player.eyeColor, Terraria.Localization.Language.GetTextValue(), Terraria.Player.hair, Terraria.Player.hairColor, GUIPlayerCreateController.HairStlyePage, j__TPar, Terraria.Player.Male, Terraria.Main.mouseLeft, Terraria.Main.mouseLeftRelease, Terraria.Player.pantsColor, Terraria.Main.PendingPlayer, Terraria.Player.shirtColor, Terraria.Player.shoeColor, Terraria.Player.skinColor, and Terraria.Player.underShirtColor.

Referenced by Draw().