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

◆ RemoveModPackLocal()

static void Terraria.ModLoader.UI.UIModPackItem.RemoveModPackLocal ( UIMouseEvent evt,
UIElement listeningElement )
inlinestaticprivate

Definition at line 724 of file UIModPackItem.cs.

725 {
727 ModOrganizer.ModPackActive = null;
728 ModLoader.DisableAllMods();
729 Logging.tML.Info((object)("Disabled Frozen Mod Pack " + modpack._filename));
730 ModLoader.OnSuccessfulLoad = (Action)Delegate.Combine(ModLoader.OnSuccessfulLoad, (Action)delegate
731 {
732 Main.menuMode = 10016;
733 });
734 ModLoader.Reload();
735 }
UIModPackItem(string name, string[] mods, bool legacy, IEnumerable< LocalMod > localMods)

References Terraria.ModLoader.UI.UIModPackItem.UIModPackItem(), Terraria.ModLoader.ModLoader.DisableAllMods(), Terraria.ModLoader.ModLoader.OnSuccessfulLoad, Terraria.ModLoader.ModLoader.Reload(), and Terraria.ModLoader.Logging.tML.

Referenced by Terraria.ModLoader.UI.UIModPackItem.UIModPackItem().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: