Esempio n. 1
0
        public static bool Initialize()
        {
            try
            {
                AreaTable = DBCReader.Read <uint, AreaTable>("AreaTable.dbc", "ID");
                return(true);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }

            return(false);
        }
Esempio n. 2
0
        public static bool Initialize()
        {
            try
            {
                AreaTable = DBCReader.Read <uint, AreaTable>("AreaTable.dbc", "ID");
                Maps      = DBCReader.Read <uint, DBCMap>("Map.dbc", "ID");
                return(true);
            }
            catch (Exception ex)
            {
                Logger.Error(ex.Message);
            }

            return(false);
        }