示例#1
0
        public override void Load()
        {
            AutoBuild.Load();
            TestEnchantGenerator.Build();

            Main.instance.Exiting += ForceUnload;
            BuffCache.Load(this);

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

                UIState = new AltarUI();
                //UIState.Activate();
            }

            sw.Stop();
            Logger.Debug($"Initializing took {sw.Elapsed.TotalMilliseconds}ms");
        }
示例#2
0
 public override void PreUpdateEntities()
 {
     TestEnchantGenerator.MakeTag();
     BuffCache.ApplyAllBuffs();
 }