コード例 #1
0
ファイル: MagicStorage.cs プロジェクト: Elvyria/MagicStorage
        public override void Unload()
        {
            StorageUI  = null;
            CraftingUI = null;

            Instance = null;
        }
コード例 #2
0
 public override void Unload()
 {
     Instance     = null;
     bluemagicMod = null;
     legendMod    = null;
     StorageGUI.Unload();
     CraftingGUI.Unload();
 }
コード例 #3
0
 public override void Load()
 {
     if (ModLoader.version < requiredVersion)
     {
         throw new Exception("Magic storage requires a tModLoader version of at least " + requiredVersion);
     }
     Instance = this;
     InterfaceHelper.Initialize();
     legendMod = ModLoader.GetMod("LegendOfTerraria3");
 }
コード例 #4
0
ファイル: MagicStorage.cs プロジェクト: Elvyria/MagicStorage
        public override void Load()
        {
            Instance = this;

            if (!Main.dedServ)
            {
                UI = new UserInterface();

                StorageUI  = new StorageGUI();
                CraftingUI = new CraftingGUI();
            }
        }
コード例 #5
0
 public override void Unload()
 {
     Instance     = null;
     bluemagicMod = null;
     legendMod    = null;
 }