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

◆ DrawTemplate()

void GUIInterfaceEdit.DrawTemplate ( )
inlineprivate

Definition at line 528 of file GUIInterfaceEdit.cs.

529 {
530 bool mouseLeft = Main.mouseLeft;
531 bool mouseLeftRelease = Main.mouseLeftRelease;
532 this.RefreshTemplate();
533 if (this.currentProfile != null)
534 {
535 return;
536 }
537 string textValue = Language.GetTextValue("InterfaceProfiles.Custom");
539 bool flag = this.displayTemplateOptions;
540 if (optionsBlocker == null || flag)
541 {
542 }
546 {
547 if (this.displayTemplateOptions)
548 {
550 return;
551 }
552 isOver = optionsBlocker.isOver;
553 if (isOver == null)
554 {
555 }
556 if (!true)
557 {
558 }
562 }
563 string textValue2 = Language.GetTextValue("Mobile.ProfileTemplate");
564 if (isOver == null)
565 {
566 }
567 bool flag2 = this.displayTemplateOptions;
568 if (flag2)
569 {
570 if (!flag2)
571 {
572 }
573 string text;
575 int stringLength = textValue2._stringLength;
576 string text2;
577 string textValue4 = Language.GetTextValue(text2);
578 string text3;
580 string textValue6 = Language.GetTextValue("InterfaceProfiles.Custom");
590 int width = texture2D.Width;
593 return;
594 }
595 }
class f__AnonymousType0<< Count > j__TPar
static DrPlatform.DrPlatformType CurrentPlatform
Definition DrPlatform.cs:26
GUIInputRegionExclusive _optionsBlocker
InterfaceProfile_Layout currentProfile
static string GetTextValue(string key)
Definition Language.cs:54
static bool mouseLeftRelease
Definition Main.cs:2029
static bool mouseLeft
Definition Main.cs:671

References _optionsBlocker, CloseTemplateOptions(), DrPlatform.CurrentPlatform, currentProfile, displayTemplateOptions, Terraria.Localization.Language.GetTextValue(), j__TPar, Terraria.Main.mouseLeft, Terraria.Main.mouseLeftRelease, RefreshTemplate(), System.text, and Microsoft.Xna.Framework.Graphics.Texture2D.Width.

Referenced by DrawUITweaks(), and DrawWidgetOverlays().