Battle Talent
V11
|
Used to load game data that config in Excel
please check the seealso, all configs need to Inherit it
More...
Static Public Member Functions | |
static void | SetupData (Dictionary< System.Type, string > files) |
static ConfigDataBase | LoadOneXML (string fileName, System.Type type) |
static ConfigDataBase | LoadOneBinary (string fileName, System.Type type) |
static void | LoadOneBinaryAsnyc (string fileName, System.Type type, System.Action< ConfigDataBase > cb) |
static void | OutputXML (string fileName, System.Type type, object data) |
static void | LoadAllData () |
static void | LoadAllDataAsync () |
static ConfigDataBase | GetData (System.Type type) |
static T | GetData< T > () |
static void | InitSave () |
static void | Save< T > (string key, T data) |
static bool | KeyExists (string key) |
static void | DeleteKey (string key) |
static T | Load< T > (string key) |
static T | Load< T > (string key, T defaultValue) |
static void | StoreSave () |
static void | TryStoreAndCreateBackup () |
static void | CreateBackup () |
static void | RestoreBackup () |
Static Public Attributes | |
const string | ConfigDataPath = "Config/" |
static GameDataMgr | Instance = new GameDataMgr() |
static Dictionary< System.Type, string > | ConfigFiles = new Dictionary<System.Type, string>() |
static Dictionary< string, ConfigDataBase > | ConfigDict = new Dictionary<string, ConfigDataBase>() |
Used to load game data that config in Excel
please check the seealso, all configs need to Inherit it