fix:1、删除不用的功能资源和代码
This commit is contained in:
@@ -378,7 +378,6 @@ namespace ChillConnect
|
||||
private void AddWatchVideo(object obj = null)
|
||||
{
|
||||
DataMgr.VideoWatchCount.Value++;
|
||||
RankSystemMgr.Instance.addGameExp(addPointType.ads);
|
||||
|
||||
int adNums = AdRedeemManager.Instance.GetLookRewardADNum();
|
||||
adNums++;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8f6d5b53c7e08b5488dd93747c32f03b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -58,22 +58,14 @@ namespace ChillConnect
|
||||
new LargerewardNumModel("LargerewardNum"),
|
||||
new PaidcoinsModel("Paidcoins"),
|
||||
new PaidgiftModel("Paidgift"),
|
||||
new OnlineRewardsModel("OnlineRewards"),
|
||||
new MakeupModel("makeup"),
|
||||
new GameUrlsModel("GameUrls"),
|
||||
new exBrPoolModel("exBrPool"),
|
||||
new RankHourRewardsModel("RankHourRewards"),
|
||||
new RankDayRewardsModel("RankDayRewards"),
|
||||
new RankWeekRewardsModel("RankWeekRewards"),
|
||||
new MakeupModel_2("makeup_2"),
|
||||
new exBrPoolModel_2("exBrPool_2"),
|
||||
new MultigiftModel("Multigift"),
|
||||
new ApplePayModel("applePay"),
|
||||
// new ApplePayModel2("applePay2"),
|
||||
new FAQRuleModel("FAQRule"),
|
||||
new FAQRuleModel1("FAQRule_1"),
|
||||
new MessageBoardModel("MessageBoard"),
|
||||
new MessageBoardModel1("MessageBoard_1"),
|
||||
new LevelAttemptsModel("LevelAttempts"),
|
||||
new TurnOffRewardsModel("TurnOffRewards"),
|
||||
new ExchangeDesModel("ExchangeDescriptors"),
|
||||
@@ -154,41 +146,8 @@ namespace ChillConnect
|
||||
LevelAttemptsModel_.config_name_list = LevelAttemptsModel_.DataList[0].user_name.Split(",").ToList();
|
||||
LevelAttemptsModel_.config_money_list = LevelAttemptsModel_.DataList[0].amount.Split(",").ToList();
|
||||
}
|
||||
|
||||
var jsonDictionary = ConfigLoader.Instance.JsonDictionary;
|
||||
var gameConfigModel = new GameConfigModel("GameBoard");
|
||||
foreach (var item in jsonDictionary)
|
||||
{
|
||||
if (item.Key.StartsWith("GameBoard"))
|
||||
{
|
||||
string[] parts = item.Key.Split('_');
|
||||
|
||||
int boardIndex;
|
||||
if (parts.Length > 1 && int.TryParse(parts[1], out boardIndex))
|
||||
{
|
||||
// 成功解析出数字
|
||||
Debug.Log($"[barry] jiexi boardIndex==== {boardIndex}");
|
||||
}
|
||||
else
|
||||
{
|
||||
boardIndex = 1;
|
||||
}
|
||||
|
||||
if (jsonDictionary.TryGetValue(item.Key, out var gameboard))
|
||||
{
|
||||
if (!gameConfigModel.game_conf.ContainsKey(boardIndex))
|
||||
{
|
||||
gameConfigModel.game_conf.Add(boardIndex, null);
|
||||
}
|
||||
|
||||
gameConfigModel.game_conf[boardIndex] =
|
||||
SerializeUtil.ToObject<List<GameBoard>>(gameboard.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ConfigLoader.Instance.AddConfig(gameConfigModel);
|
||||
|
||||
|
||||
SetGameUrlConfig();
|
||||
}
|
||||
private static List<GameUrls> data_new;
|
||||
|
||||
Reference in New Issue
Block a user