Example #1
0
        public static void WriteAllEnums()
        {
            RealmDBMgr.Initialize();
            ContentMgr.Initialize();
            World.InitializeWorld();
            SpellHandler.LoadSpells();
            FactionMgr.Initialize();
            SpellHandler.Initialize2();
            AreaTriggerMgr.Initialize();

            WriteZoneEnum();
            WriteMapEnum();
            WriteSkillEnums();
            WriteRangeEnum();
            WriteFactionEnums();
            WriteSpellFocusEnum();
            WriteSpellId();
            WriteSpellMechanicEnum();
            WriteTalentEnums();
            WriteItemId();
            WriteItemSetId();
            WriteNpcId();
            WriteCreatureFamilyId();
            WriteGOEntryId();
            WriteRealmCategory();
            WriteTotemCategories();
            WriteAreaTriggers();

            //NPCMgr.ForceInitialize();
            //WriteRideEnum();
        }
Example #2
0
        public static void WriteAllQuests()
        {
            Tools.StartRealm();
            QuestMgr.LoadAll();
            ItemMgr.LoadAll();
            NPCMgr.LoadNPCDefs();
            GOMgr.LoadAll();
            AreaTriggerMgr.Initialize();

            WriteQuests("Quests", null);
        }
Example #3
0
 private static void Init()
 {
     RealmDBMgr.Initialize();
     SpellHandler.LoadSpells();
     AreaTriggerMgr.Initialize();
 }