通行证增加载具字段
parent
a7706b8271
commit
3d87e0d07c
|
|
@ -25,6 +25,7 @@ public sealed partial class DataBattlePass : Luban.BeanBase
|
|||
{ if(!_buf["PointItem"].IsNumber) { throw new SerializationException(); } PointItem = _buf["PointItem"]; }
|
||||
{ if(!_buf["MaxLevel"].IsNumber) { throw new SerializationException(); } MaxLevel = _buf["MaxLevel"]; }
|
||||
{ if(!_buf["SpecialItemLevel"].IsNumber) { throw new SerializationException(); } SpecialItemLevel = _buf["SpecialItemLevel"]; }
|
||||
{ if(!_buf["VehicleID"].IsNumber) { throw new SerializationException(); } VehicleID = _buf["VehicleID"]; }
|
||||
{ var __json0 = _buf["SpecialItemID"]; if(!__json0.IsArray) { throw new SerializationException(); } SpecialItemID = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } SpecialItemID.Add(__v0); } }
|
||||
{ var __json0 = _buf["AdvancedPassPrice"]; if(!__json0.IsArray) { throw new SerializationException(); } AdvancedPassPrice = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } AdvancedPassPrice.Add(__v0); } }
|
||||
{ var __json0 = _buf["AdvancedPassIcon"]; if(!__json0.IsArray) { throw new SerializationException(); } int _n0 = __json0.Count; AdvancedPassIcon = new string[_n0]; int __index0=0; foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } AdvancedPassIcon[__index0++] = __v0; } }
|
||||
|
|
@ -38,13 +39,14 @@ public sealed partial class DataBattlePass : Luban.BeanBase
|
|||
{ if(!_buf["BuyProductPath"].IsString) { throw new SerializationException(); } BuyProductPath = _buf["BuyProductPath"]; }
|
||||
}
|
||||
|
||||
public DataBattlePass(int ID, int WeekExpMax, int PointItem, int MaxLevel, int SpecialItemLevel, System.Collections.Generic.List<int> SpecialItemID, System.Collections.Generic.List<int> AdvancedPassPrice, string[] AdvancedPassIcon, System.Collections.Generic.List<int> AdvancedPassExtraRewards, System.Collections.Generic.List<int> DailyMissionGroup, System.Collections.Generic.List<int> WeeklyMissionGroup, System.Collections.Generic.List<int> SeasonMissionGroup, int MailID, System.Collections.Generic.List<int> SpecialRewardLevel, string ProductPath, string BuyProductPath )
|
||||
public DataBattlePass(int ID, int WeekExpMax, int PointItem, int MaxLevel, int SpecialItemLevel, int VehicleID, System.Collections.Generic.List<int> SpecialItemID, System.Collections.Generic.List<int> AdvancedPassPrice, string[] AdvancedPassIcon, System.Collections.Generic.List<int> AdvancedPassExtraRewards, System.Collections.Generic.List<int> DailyMissionGroup, System.Collections.Generic.List<int> WeeklyMissionGroup, System.Collections.Generic.List<int> SeasonMissionGroup, int MailID, System.Collections.Generic.List<int> SpecialRewardLevel, string ProductPath, string BuyProductPath )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.WeekExpMax = WeekExpMax;
|
||||
this.PointItem = PointItem;
|
||||
this.MaxLevel = MaxLevel;
|
||||
this.SpecialItemLevel = SpecialItemLevel;
|
||||
this.VehicleID = VehicleID;
|
||||
this.SpecialItemID = SpecialItemID;
|
||||
this.AdvancedPassPrice = AdvancedPassPrice;
|
||||
this.AdvancedPassIcon = AdvancedPassIcon;
|
||||
|
|
@ -85,6 +87,10 @@ public sealed partial class DataBattlePass : Luban.BeanBase
|
|||
/// </summary>
|
||||
public int SpecialItemLevel { get; private set; }
|
||||
/// <summary>
|
||||
/// 瞩目商品的载具
|
||||
/// </summary>
|
||||
public int VehicleID { get; private set; }
|
||||
/// <summary>
|
||||
/// 瞩目商品的角色和皮肤
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> SpecialItemID { get; private set; }
|
||||
|
|
@ -144,6 +150,7 @@ public sealed partial class DataBattlePass : Luban.BeanBase
|
|||
+ "PointItem:" + PointItem + ","
|
||||
+ "MaxLevel:" + MaxLevel + ","
|
||||
+ "SpecialItemLevel:" + SpecialItemLevel + ","
|
||||
+ "VehicleID:" + VehicleID + ","
|
||||
+ "SpecialItemID:" + Luban.StringUtil.CollectionToString(SpecialItemID) + ","
|
||||
+ "AdvancedPassPrice:" + Luban.StringUtil.CollectionToString(AdvancedPassPrice) + ","
|
||||
+ "AdvancedPassIcon:" + Luban.StringUtil.CollectionToString(AdvancedPassIcon) + ","
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"PointItem": 1220001,
|
||||
"MaxLevel": 70,
|
||||
"SpecialItemLevel": 30,
|
||||
"VehicleID": 0,
|
||||
"SpecialItemID": [
|
||||
100006,
|
||||
3
|
||||
|
|
|
|||
Loading…
Reference in New Issue