TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ GotoSavedModMenu()

static void Terraria.ModLoader.MenuLoader.GotoSavedModMenu ( )
inlinestaticpackage

Definition at line 73 of file MenuLoader.cs.

74 {
76 {
77 Main.instance.playOldTile = true;
78 }
80 if (ModContent.TryFind<ModMenu>(LastSelectedModMenu, out var value) && value.IsAvailable)
81 {
82 switchToMenu = value;
83 }
84 loading = false;
85 }
The Terraria 1.3.5.3 theme converted into a ModMenu, so that it better fits with the new system.
static string LastSelectedModMenu
Definition MenuLoader.cs:33
static readonly MenutML MenutML
Definition MenuLoader.cs:17
string FullName
The internal name of this, including the mod it is from.
Definition ModType.cs:26

References Terraria.ModLoader.ModType< TEntity, TModType >.FullName, Terraria.ModLoader.MenuLoader.LastSelectedModMenu, Terraria.ModLoader.MenuLoader.loading, Terraria.ModLoader.MenuLoader.MenutML, and Terraria.ModLoader.MenuLoader.switchToMenu.

Referenced by Terraria.ModLoader.ModContent.Load().

+ Here is the caller graph for this function: