卡详情推荐载具等级提示配置

main
zhangaotian 2026-06-25 15:43:46 +08:00
parent 4f3e924991
commit ab022178bf
4 changed files with 522 additions and 2 deletions

View File

@ -31,6 +31,7 @@ public sealed partial class DataLevel : Luban.BeanBase
{ if(!_buf["MaxSweepingNumbert"].IsNumber) { throw new SerializationException(); } MaxSweepingNumbert = _buf["MaxSweepingNumbert"]; }
{ if(!_buf["IsShow"].IsBoolean) { throw new SerializationException(); } IsShow = _buf["IsShow"]; }
{ if(!_buf["RecommendLevel"].IsNumber) { throw new SerializationException(); } RecommendLevel = _buf["RecommendLevel"]; }
{ if(!_buf["RecommendVehicleLevel"].IsString) { throw new SerializationException(); } RecommendVehicleLevel = _buf["RecommendVehicleLevel"]; }
{ if(!_buf["Unlocks"].IsString) { throw new SerializationException(); } Unlocks = _buf["Unlocks"]; }
{ var __json0 = _buf["CostItems"]; if(!__json0.IsArray) { throw new SerializationException(); } CostItems = new System.Collections.Generic.List<item.ItemCounts>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { item.ItemCounts __v0; { if(!__e0.IsObject) { throw new SerializationException(); } __v0 = global::cfg.item.ItemCounts.DeserializeItemCounts(__e0); } CostItems.Add(__v0); } }
{ if(!_buf["SettleExp"].IsNumber) { throw new SerializationException(); } SettleExp = _buf["SettleExp"]; }
@ -67,7 +68,7 @@ public sealed partial class DataLevel : Luban.BeanBase
{ if(!_buf["AllDefenceScale"].IsNumber) { throw new SerializationException(); } AllDefenceScale = _buf["AllDefenceScale"]; }
}
public DataLevel(int Id, string levelBGM, int levelGroupID, int ParentLevelId, LevelCfg.E_LevelGamePlay LevelGameplay, System.Collections.Generic.List<int> LevelBuff_Self, System.Collections.Generic.List<int> LevelBuff_Enemy, bool KeepEscape, int MaxSweepingNumbert, bool IsShow, int RecommendLevel, string Unlocks, System.Collections.Generic.List<item.ItemCounts> CostItems, int SettleExp, int SettleLikability, int[] NormalRewardID, int[] FristRewardID, int[] StarRewardID_1, int[] StarRewardID_2, int[] StarRewardID_3, int[] PremiumRewardID, int[] RandomRewardID, int[] RoleTestRewardID, LevelCfg.DayNightType LevelTime, LevelCfg.WeatherType LevelWeather, int TimeAfterActivity, float ShadowDistance, string FightStoryNameId, string StoryID, int[] ListLevelTaskId, int SuccessTaskId, int FailTaskId, float LevelDuration, int[] StarTaskId, int[] StarTaskReward, string LevelData, string MapData, string LevelScene, string BannerPath, string BgIconPath, int RoleTestTeamID, float HpScale, float ShieldScale, float AttackPowerScale, float AllDefenceScale )
public DataLevel(int Id, string levelBGM, int levelGroupID, int ParentLevelId, LevelCfg.E_LevelGamePlay LevelGameplay, System.Collections.Generic.List<int> LevelBuff_Self, System.Collections.Generic.List<int> LevelBuff_Enemy, bool KeepEscape, int MaxSweepingNumbert, bool IsShow, int RecommendLevel, string RecommendVehicleLevel, string Unlocks, System.Collections.Generic.List<item.ItemCounts> CostItems, int SettleExp, int SettleLikability, int[] NormalRewardID, int[] FristRewardID, int[] StarRewardID_1, int[] StarRewardID_2, int[] StarRewardID_3, int[] PremiumRewardID, int[] RandomRewardID, int[] RoleTestRewardID, LevelCfg.DayNightType LevelTime, LevelCfg.WeatherType LevelWeather, int TimeAfterActivity, float ShadowDistance, string FightStoryNameId, string StoryID, int[] ListLevelTaskId, int SuccessTaskId, int FailTaskId, float LevelDuration, int[] StarTaskId, int[] StarTaskReward, string LevelData, string MapData, string LevelScene, string BannerPath, string BgIconPath, int RoleTestTeamID, float HpScale, float ShieldScale, float AttackPowerScale, float AllDefenceScale )
{
this.Id = Id;
this.LevelBGM = levelBGM;
@ -80,6 +81,7 @@ public sealed partial class DataLevel : Luban.BeanBase
this.MaxSweepingNumbert = MaxSweepingNumbert;
this.IsShow = IsShow;
this.RecommendLevel = RecommendLevel;
this.RecommendVehicleLevel = RecommendVehicleLevel;
this.Unlocks = Unlocks;
this.CostItems = CostItems;
this.SettleExp = SettleExp;
@ -167,6 +169,10 @@ public sealed partial class DataLevel : Luban.BeanBase
/// </summary>
public int RecommendLevel { get; private set; }
/// <summary>
/// 推荐载具等级
/// </summary>
public string RecommendVehicleLevel { get; private set; }
/// <summary>
/// 解锁条件:<br/>1.LevelPass(levelid)|LevelPass(levelid2) - 完成对应关卡后解锁
/// </summary>
public string Unlocks { get; private set; }
@ -325,6 +331,7 @@ public sealed partial class DataLevel : Luban.BeanBase
+ "MaxSweepingNumbert:" + MaxSweepingNumbert + ","
+ "IsShow:" + IsShow + ","
+ "RecommendLevel:" + RecommendLevel + ","
+ "RecommendVehicleLevel:" + RecommendVehicleLevel + ","
+ "Unlocks:" + Unlocks + ","
+ "CostItems:" + Luban.StringUtil.CollectionToString(CostItems) + ","
+ "SettleExp:" + SettleExp + ","

View File

@ -87736,6 +87736,19 @@
"OutCalculate": [],
"CalculateType": 0
},
{
"Key": "select_vehicle_level_recommend",
"Name": "select_vehicle_level_recommend",
"value": "",
"Desc": "推荐载具等级 <color=#fffe5c><size=36>{0}</size></color>",
"Notes": "",
"Param0": "",
"Param1": "",
"Param2": "",
"InnerCalculate": false,
"OutCalculate": [],
"CalculateType": 0
},
{
"Key": "BeforeFight_ProbabiltyPass",
"Name": "BeforeFight_ProbabiltyPass",

File diff suppressed because it is too large Load Diff

View File

@ -87736,6 +87736,19 @@
"OutCalculate": [],
"CalculateType": 0
},
{
"Key": "select_vehicle_level_recommend",
"Name": "select_vehicle_level_recommend",
"value": "",
"Desc": "推荐载具等级 <color=#fffe5c><size=36>{0}</size></color>",
"Notes": "",
"Param0": "",
"Param1": "",
"Param2": "",
"InnerCalculate": false,
"OutCalculate": [],
"CalculateType": 0
},
{
"Key": "BeforeFight_ProbabiltyPass",
"Name": "BeforeFight_ProbabiltyPass",