fix:1、同步部分arrow game的ui资源和代码
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -63,7 +63,12 @@ namespace RedHotRoast {
|
||||
|
||||
TextureHelper.imgUrl = CdnURL + "/" + GetConfigResVersion() + "/";
|
||||
LiveVideoManager.videoBaseUrl = CdnURL + "/" + GetConfigResVersion() + "/";
|
||||
|
||||
if (DataMgr.ExchangeProcessMode.Value < 0)
|
||||
{
|
||||
DataMgr.ExchangeModeToggle.Value = GetCommonConf().ExchangeModeToggle;
|
||||
DataMgr.ExchangeProcessMode.Value = GetCommonConf().ExchangeProcessMode;
|
||||
DataMgr.CHProcessMode.Value = GetCommonConf().CHProcessMode;
|
||||
}
|
||||
// ParseGameConfig();
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.NetLoadingUI_Close);
|
||||
AppDispatcher.Instance.Dispatch(AppMsg.LoginInit);
|
||||
@@ -75,6 +80,8 @@ namespace RedHotRoast {
|
||||
#region 游戏配置
|
||||
|
||||
private void ParseGameConfig() {
|
||||
ParseNameConfig();
|
||||
|
||||
var gameConfigModel = new GameConfigModel();
|
||||
foreach (var key in ConfigLoader.Instance.GetJsonKeys()) {
|
||||
if (!key.StartsWith("GameBoard")) {
|
||||
@@ -109,6 +116,31 @@ namespace RedHotRoast {
|
||||
|
||||
|
||||
SetGameUrlConfig();
|
||||
|
||||
}
|
||||
|
||||
private void ParseNameConfig()
|
||||
{
|
||||
|
||||
var exBrPool = GetConfig<exBrPool>();
|
||||
if (exBrPool is { Count: > 0 })
|
||||
{
|
||||
exBrPoolModel.config_name_list = exBrPool[0].user_name.Split(",").ToList();
|
||||
exBrPoolModel.config_money_list = exBrPool[0].amount.Split(",").ToList();
|
||||
}
|
||||
|
||||
var exBrPool2 = GetConfig<exBrPool_2>();
|
||||
if (exBrPool2 is { Count: > 0 })
|
||||
{
|
||||
exBrPoolModel2.config_name_list = exBrPool2[0].user_name.Split(",").ToList();
|
||||
exBrPoolModel2.config_money_list = exBrPool2[0].amount.Split(",").ToList();
|
||||
}
|
||||
var levelAttempts = GetConfig<LevelAttempts>();
|
||||
if (levelAttempts is { Count: > 0 })
|
||||
{
|
||||
LevelAttemptsModel.config_name_list = levelAttempts[0].user_name.Split(",").ToList();
|
||||
LevelAttemptsModel.config_money_list = levelAttempts[0].amount.Split(",").ToList();
|
||||
}
|
||||
}
|
||||
|
||||
private static List<GameUrls> data_new;
|
||||
|
||||
Reference in New Issue
Block a user