diff --git a/ProjectNLD/Assets/Code/Scripts/GenCode/Luban/DataTable/LevelCfg/DataLevel.cs b/ProjectNLD/Assets/Code/Scripts/GenCode/Luban/DataTable/LevelCfg/DataLevel.cs index 21e68005e1a..a49603ffa13 100644 --- a/ProjectNLD/Assets/Code/Scripts/GenCode/Luban/DataTable/LevelCfg/DataLevel.cs +++ b/ProjectNLD/Assets/Code/Scripts/GenCode/Luban/DataTable/LevelCfg/DataLevel.cs @@ -49,6 +49,8 @@ public sealed partial class DataLevel : Luban.BeanBase { if(!_buf["TimeAfterActivity"].IsNumber) { throw new SerializationException(); } TimeAfterActivity = _buf["TimeAfterActivity"]; } { if(!_buf["ShadowDistance"].IsNumber) { throw new SerializationException(); } ShadowDistance = _buf["ShadowDistance"]; } { if(!_buf["FightStoryNameId"].IsString) { throw new SerializationException(); } FightStoryNameId = _buf["FightStoryNameId"]; } + { if(!_buf["PrestoryID"].IsString) { throw new SerializationException(); } PrestoryID = _buf["PrestoryID"]; } + { if(!_buf["PostoryID"].IsString) { throw new SerializationException(); } PostoryID = _buf["PostoryID"]; } { if(!_buf["StoryID"].IsString) { throw new SerializationException(); } StoryID = _buf["StoryID"]; } { var __json0 = _buf["ListLevelTaskId"]; if(!__json0.IsArray) { throw new SerializationException(); } int _n0 = __json0.Count; ListLevelTaskId = new int[_n0]; int __index0=0; foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ListLevelTaskId[__index0++] = __v0; } } { if(!_buf["SuccessTaskId"].IsNumber) { throw new SerializationException(); } SuccessTaskId = _buf["SuccessTaskId"]; } @@ -68,7 +70,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 LevelBuff_Self, System.Collections.Generic.List LevelBuff_Enemy, bool KeepEscape, int MaxSweepingNumbert, bool IsShow, int RecommendLevel, string RecommendVehicleLevel, string Unlocks, System.Collections.Generic.List 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 LevelBuff_Self, System.Collections.Generic.List LevelBuff_Enemy, bool KeepEscape, int MaxSweepingNumbert, bool IsShow, int RecommendLevel, string RecommendVehicleLevel, string Unlocks, System.Collections.Generic.List 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 PrestoryID, string PostoryID, 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; @@ -99,6 +101,8 @@ public sealed partial class DataLevel : Luban.BeanBase this.TimeAfterActivity = TimeAfterActivity; this.ShadowDistance = ShadowDistance; this.FightStoryNameId = FightStoryNameId; + this.PrestoryID = PrestoryID; + this.PostoryID = PostoryID; this.StoryID = StoryID; this.ListLevelTaskId = ListLevelTaskId; this.SuccessTaskId = SuccessTaskId; @@ -241,6 +245,14 @@ public sealed partial class DataLevel : Luban.BeanBase /// public string FightStoryNameId { get; private set; } /// + /// 前置剧情ID + /// + public string PrestoryID { get; private set; } + /// + /// 后置剧情ID + /// + public string PostoryID { get; private set; } + /// /// 剧情ID /// public string StoryID { get; private set; } @@ -349,6 +361,8 @@ public sealed partial class DataLevel : Luban.BeanBase + "TimeAfterActivity:" + TimeAfterActivity + "," + "ShadowDistance:" + ShadowDistance + "," + "FightStoryNameId:" + FightStoryNameId + "," + + "PrestoryID:" + PrestoryID + "," + + "PostoryID:" + PostoryID + "," + "StoryID:" + StoryID + "," + "ListLevelTaskId:" + Luban.StringUtil.CollectionToString(ListLevelTaskId) + "," + "SuccessTaskId:" + SuccessTaskId + ","