h5sdk提交

This commit is contained in:
2026-07-06 16:31:08 +08:00
parent 761e670f01
commit 3c0298f19f
1183 changed files with 107360 additions and 42666 deletions
+16 -4
View File
@@ -95,8 +95,8 @@ namespace BingoBrain
}
//Debug.Log($"[UNITY] needDownloadConfigFile: {needDownloadConfigFile}");
//默默地拉去新配置
// Debug.Log("kkkkkkkkkkkkkkkkkkkkkk" + needDownloadConfigFile);
// Debug.Log("kkkkkkkkkkkkkkkkkkkkkk" + savedCfgName);
// Debug.Log("kkkkkkkkkkkkkkkkkkkkkk" + needDownloadConfigFile);
// Debug.Log("kkkkkkkkkkkkkkkkkkkkkk" + savedCfgName);
if (needDownloadConfigFile)
{
@@ -137,6 +137,7 @@ namespace BingoBrain
private void ParseConfig(string json)
{
Debug.Log(json);
if (json == null)
{
return;
@@ -149,7 +150,7 @@ namespace BingoBrain
var dictionary = Havva.ToObject<Dictionary<string, object>>(json);
ParseGameConfig(dictionary);
CtrlDispatcher.Instance.Dispatch(CtrlMsg.Game_StartBefore);
CtrlDispatcher.Instance.Dispatch(CtrlMsg.Game_StartBefore);
ModuleBoardk.Instance.AllModuleReadData();
}
@@ -207,6 +208,7 @@ namespace BingoBrain
Debug.Log(light_weblist.Count);
Debug.Log(dark_weblist.Count);
Debug.Log("////////////////////////");
}
}
@@ -290,10 +292,14 @@ namespace BingoBrain
GetGameConfig<exBrPoolModel_2, exBrPool_2>(dictionary);
GetGameConfig<MakeupModel_2, makeup_2>(dictionary);
GetGameConfig<MultigiftModel, Multigift>(dictionary);
GetGameConfig<ExchangeDesModel, ExchangeDescriptors>(dictionary);//兑换
// Debug.Log(JsonConvert.SerializeObject(ConfigSystem.GetConfig<ExchangeDesModel>().dataList));
exBrPoolModel.config_name_list = ConfigSystem.GetConfig<exBrPoolModel>().dataList[0].user_name.Split(",").ToList();
exBrPoolModel.config_money_list = ConfigSystem.GetConfig<exBrPoolModel>().dataList[0].amount.Split(",").ToList();
exBrPoolModel_2.config_name_list = ConfigSystem.GetConfig<exBrPoolModel_2>().dataList[0].user_name.Split(",").ToList();
exBrPoolModel_2.config_money_list = ConfigSystem.GetConfig<exBrPoolModel_2>().dataList[0].amount.Split(",").ToList();
// exBrPoolModel.getFaqData();
if (PreferencesMgr.Instance.ActiveMissions != null)
{
@@ -330,7 +336,13 @@ namespace BingoBrain
}
}
Debug.Log(SaveData.GetSaveobject());
if (SaveData.GetSaveobject().ExchangeProcessMode < 0)
{
SaveData.GetSaveobject().ExchangeModeToggle = ConfigSystem.GetConfig<CommonModel>().ExchangeModeToggle;
SaveData.GetSaveobject().ExchangeProcessMode = ConfigSystem.GetConfig<CommonModel>().ExchangeProcessMode;
SaveData.GetSaveobject().CHProcessMode = ConfigSystem.GetConfig<CommonModel>().CHProcessMode;
}
// Debug.Log("888888888888888888");
}