Esempio n. 1
0
        public static DataTable GetFaction()
        {
            // basic factions
            var result = DbcHandler.LoadDbc("Faction", new string[] { "m_ID", "m_name_lang_1" });

            result.Rows.Add(35, "Friendly to all");
            result.Rows.Add(168, "Enemy to all");
            result.Rows.Add(7, "Neutral Attackable");
            result.Rows.Add(14, "Unfriendly Attackable");
            return(result);
        }
Esempio n. 2
0
 public static DataTable GetEmotes()
 {
     return(DbcHandler.LoadDbc("Emotes",
                               new string[] { "id", "description" }));
 }
Esempio n. 3
0
 public static DataTable GetCharTitles()
 {
     return(DbcHandler.LoadDbc("CharTitles",
                               new string[] { "field0", "field2" }));
 }
Esempio n. 4
0
 public static DataTable GetMap()
 {
     return(DbcHandler.LoadDbc("Map",
                               new string[] { "m_ID", "m_MapName_lang1" }));
 }
Esempio n. 5
0
 public static DataTable GetSpells()
 {
     return(DbcHandler.LoadDbc("Spell",
                               new string[] { "m_ID", "m_name_lang_1", "m_description_lang_1" }));
 }
Esempio n. 6
0
 public static DataTable GetQuestSortNames()
 {
     return(DbcHandler.LoadDbc("QuestSort",
                               new string[] { "id", "name" }));
 }
Esempio n. 7
0
 public static DataTable GetAreaTableNames()
 {
     return(DbcHandler.LoadDbc("AreaTable",
                               new string[] { "m_ID", "m_AreaName_lang" }));
 }