public static void LoadDataSync() { List <t_anything> data = ConfigLoader.LoadJsonListFile <t_anything>("t_anything.bytes"); mList = new Dictionary <string, string>(); foreach (var item in data) { mList.Add(item.key, item._val); } }
public static void LoadDataSync() { mList = ConfigLoader.LoadJsonListFile <t_shopbase>("t_shopbase.bytes"); }