diff --git a/ProjectNLD/Assets/Code/Scripts/GenCode/Luban/DataTable/ActorCfg/DataActivityDoubleReward.cs b/ProjectNLD/Assets/Code/Scripts/GenCode/Luban/DataTable/ActorCfg/DataActivityDoubleReward.cs
index 95c963f28af..5356c87fafc 100644
--- a/ProjectNLD/Assets/Code/Scripts/GenCode/Luban/DataTable/ActorCfg/DataActivityDoubleReward.cs
+++ b/ProjectNLD/Assets/Code/Scripts/GenCode/Luban/DataTable/ActorCfg/DataActivityDoubleReward.cs
@@ -17,10 +17,14 @@ public sealed partial class DataActivityDoubleReward : Luban.BeanBase
{
public DataActivityDoubleReward(JSONNode _buf)
{
+ { if(!_buf["Id"].IsNumber) { throw new SerializationException(); } Id = _buf["Id"]; }
+ { var __json0 = _buf["LevelType"]; if(!__json0.IsArray) { throw new SerializationException(); } int _n0 = __json0.Count; LevelType = new LevelCfg.E_LevelType[_n0]; int __index0=0; foreach(JSONNode __e0 in __json0.Children) { LevelCfg.E_LevelType __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = (LevelCfg.E_LevelType)__e0.AsInt; } LevelType[__index0++] = __v0; } }
}
- public DataActivityDoubleReward()
+ public DataActivityDoubleReward(int Id, LevelCfg.E_LevelType[] LevelType )
{
+ this.Id = Id;
+ this.LevelType = LevelType;
}
@@ -29,6 +33,14 @@ public sealed partial class DataActivityDoubleReward : Luban.BeanBase
return new ActorCfg.DataActivityDoubleReward(_buf);
}
+ ///
+ /// ID
+ ///
+ public int Id { get; private set; }
+ ///
+ /// 关卡类型
+ ///
+ public LevelCfg.E_LevelType[] LevelType { get; private set; }
public const int __ID__ = -1689384776;
public override int GetTypeId() => __ID__;
@@ -40,6 +52,8 @@ public sealed partial class DataActivityDoubleReward : Luban.BeanBase
public override string ToString()
{
return "{ "
+ + "Id:" + Id + ","
+ + "LevelType:" + Luban.StringUtil.CollectionToString(LevelType) + ","
+ "}";
}
}
diff --git a/ProjectNLD/Assets/Config/Data/actorcfg_activitydoublereward.json b/ProjectNLD/Assets/Config/Data/actorcfg_activitydoublereward.json
index ec2649bb499..3aa4c4e5790 100644
--- a/ProjectNLD/Assets/Config/Data/actorcfg_activitydoublereward.json
+++ b/ProjectNLD/Assets/Config/Data/actorcfg_activitydoublereward.json
@@ -1,3 +1,9 @@
[
- {}
+ {
+ "Id": 1,
+ "LevelType": [
+ 0,
+ 1
+ ]
+ }
]
\ No newline at end of file