public static bool Initialize() { try { AreaTable = DBCReader.Read <uint, AreaTable>("AreaTable.dbc", "ID"); return(true); } catch (Exception ex) { Console.WriteLine(ex.Message); } return(false); }
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); }