//////////////// private void InitializeModules() { this.Loadables = new LoadableManager(); this.ExceptionMngr = new ModHelpersExceptionManager(); this.AnimatedColors = new AnimatedColorsManager(); this.AnimatedTextures = new AnimatedTextureManager(); }
public override void Unload() { LoadableManager.Unload(); RacialAbilityHotKey = null; if (!Main.dedServ) { _MrPlagueRaceSelection = null; Main.OnTick -= UpdateTick; } }
public void UnloadModules() { this.Loadables.OnModsUnload(); this.Loadables = null; this.ReflectionHelpers = null; this.PacketProtocolMngr = null; this.ExceptionMngr = null; this.Timers = null; this.LogHelpers = null; this.ModFeaturesHelpers = null; this.BuffHelpers = null; this.NetHelpers = null; this.NPCAttributeHelpers = null; this.ProjectileAttributeHelpers = null; this.BuffIdentityHelpers = null; this.NPCBannerHelpers = null; this.RecipeFinderHelpers = null; this.RecipeGroupHelpers = null; this.PlayerHooks = null; this.LoadHelpers = null; this.GetModInfo = null; this.GetModTags = null; this.WorldStateHelpers = null; this.ModLock = null; this.EntityGroups = null; this.AnimatedColors = null; this.AnimatedTextures = null; this.PlayerMessages = null; this.Inbox = null; this.ControlPanel = null; this.MenuItemMngr = null; this.MenuContextMngr = null; this.MusicHelpers = null; this.PlayerIdentityHelpers = null; this.LoadHooks = null; this.CustomLoadHooks = null; this.DataStore = null; this.CustomHotkeys = null; this.XnaHelpers = null; this.Server = null; //this.PlayerDataMngr = null; this.SupportInfo = null; this.RecipeHack = null; this.ModListHelpers = null; this.ItemAttributeHelpers = null; this.WorldTimeHooks = null; this.ControlPanelHotkey = null; this.DataDumpHotkey = null; }
public override void Load() { LoadableManager.Autoload(this); RacialAbilityHotKey = RegisterHotKey("Racial Ability", "Mouse2"); if (!Main.dedServ) { Main.OnTick += UpdateTick; _MrPlagueRaceSelection = new MrPlagueRaceSelection(); FluftrodonPaintUIPanel = new FluftrodonPaintUIPanel(); FluftrodonPaintUIPanel.Activate(); FluftrodonUserInterface = new UserInterface(); FluftrodonUserInterface.SetState(FluftrodonPaintUIPanel); MrPlagueRaceInformation = new MrPlagueRaceInformation(); MrPlagueRaceInformation.Activate(); MrPlagueRaceInformationUserInterface = new UserInterface(); MrPlagueRaceInformationUserInterface.SetState(MrPlagueRaceInformation); } }