导出配表

main
Yuntao Hu 2025-06-10 16:28:16 +08:00
parent 80a093f3da
commit 6f72f3c714
4 changed files with 8 additions and 7168 deletions

View File

@ -23,17 +23,7 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
{ if(!_buf["RoleID"].IsNumber) { throw new SerializationException(); } RoleID = _buf["RoleID"]; }
{ if(!_buf["AwakingLevel"].IsNumber) { throw new SerializationException(); } AwakingLevel = _buf["AwakingLevel"]; }
{ var __json0 = _buf["AttributeGroup"]; if(!__json0.IsArray) { throw new SerializationException(); } AttributeGroup = new System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { ActorCfg.AttributeType _k0; { if(!__e0[0].IsNumber) { throw new SerializationException(); } _k0 = (ActorCfg.AttributeType)__e0[0].AsInt; } float _v0; { if(!__e0[1].IsNumber) { throw new SerializationException(); } _v0 = __e0[1]; } AttributeGroup.Add(_k0, _v0); } }
{ if(!_buf["Defence"].IsNumber) { throw new SerializationException(); } Defence = _buf["Defence"]; }
{ if(!_buf["Hp"].IsNumber) { throw new SerializationException(); } Hp = _buf["Hp"]; }
{ if(!_buf["Shield"].IsNumber) { throw new SerializationException(); } Shield = _buf["Shield"]; }
{ if(!_buf["Speed"].IsNumber) { throw new SerializationException(); } Speed = _buf["Speed"]; }
{ if(!_buf["Corrage"].IsNumber) { throw new SerializationException(); } Corrage = _buf["Corrage"]; }
{ if(!_buf["CorrageRecover"].IsNumber) { throw new SerializationException(); } CorrageRecover = _buf["CorrageRecover"]; }
{ if(!_buf["CriticalRatio"].IsNumber) { throw new SerializationException(); } CriticalRatio = _buf["CriticalRatio"]; }
{ if(!_buf["CriticalDamage"].IsNumber) { throw new SerializationException(); } CriticalDamage = _buf["CriticalDamage"]; }
{ var __json0 = _buf["SkillPropModifyList"]; if(!__json0.IsArray) { throw new SerializationException(); } SkillPropModifyList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } SkillPropModifyList.Add(__v0); } }
{ if(!_buf["PassiveSkillID"].IsNumber) { throw new SerializationException(); } PassiveSkillID = _buf["PassiveSkillID"]; }
{ if(!_buf["WeaponGrasp"].IsNumber) { throw new SerializationException(); } WeaponGrasp = _buf["WeaponGrasp"]; }
{ 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["SkillModifyDesc"].IsString) { throw new SerializationException(); } SkillModifyDesc = _buf["SkillModifyDesc"]; }
{ if(!_buf["Name"].IsString) { throw new SerializationException(); } Name = _buf["Name"]; }
@ -41,22 +31,12 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
{ if(!_buf["IconLightPath"].IsString) { throw new SerializationException(); } IconLightPath = _buf["IconLightPath"]; }
}
public DataCharacterAwaking(int RoleID, int AwakingLevel, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup, int Defence, int Hp, int Shield, float Speed, float Corrage, float CorrageRecover, float CriticalRatio, float CriticalDamage, System.Collections.Generic.List<int> SkillPropModifyList, int PassiveSkillID, float WeaponGrasp, System.Collections.Generic.List<item.ItemCounts> CostItems, string SkillModifyDesc, string Name, string IconDarkPath, string IconLightPath )
public DataCharacterAwaking(int RoleID, int AwakingLevel, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup, System.Collections.Generic.List<int> SkillPropModifyList, System.Collections.Generic.List<item.ItemCounts> CostItems, string SkillModifyDesc, string Name, string IconDarkPath, string IconLightPath )
{
this.RoleID = RoleID;
this.AwakingLevel = AwakingLevel;
this.AttributeGroup = AttributeGroup;
this.Defence = Defence;
this.Hp = Hp;
this.Shield = Shield;
this.Speed = Speed;
this.Corrage = Corrage;
this.CorrageRecover = CorrageRecover;
this.CriticalRatio = CriticalRatio;
this.CriticalDamage = CriticalDamage;
this.SkillPropModifyList = SkillPropModifyList;
this.PassiveSkillID = PassiveSkillID;
this.WeaponGrasp = WeaponGrasp;
this.CostItems = CostItems;
this.SkillModifyDesc = SkillModifyDesc;
this.Name = Name;
@ -78,52 +58,15 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
/// 觉醒等级
/// </summary>
public int AwakingLevel { get; private set; }
/// <summary>
/// 生命
/// </summary>
public System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup { get; private set; }
/// <summary>
/// 防御力
/// </summary>
public int Defence { get; private set; }
/// <summary>
/// 血量
/// </summary>
public int Hp { get; private set; }
/// <summary>
/// 护盾
/// </summary>
public int Shield { get; private set; }
/// <summary>
/// 移速
/// </summary>
public float Speed { get; private set; }
/// <summary>
/// 士气
/// </summary>
public float Corrage { get; private set; }
/// <summary>
/// 士气恢复
/// </summary>
public float CorrageRecover { get; private set; }
/// <summary>
/// 暴击率
/// </summary>
public float CriticalRatio { get; private set; }
/// <summary>
/// 暴击伤害
/// </summary>
public float CriticalDamage { get; private set; }
/// <summary>
/// 技能变动
/// </summary>
public System.Collections.Generic.List<int> SkillPropModifyList { get; private set; }
/// <summary>
/// 被动技能ID
/// </summary>
public int PassiveSkillID { get; private set; }
/// <summary>
/// 武器掌握度
/// </summary>
public float WeaponGrasp { get; private set; }
/// <summary>
/// 消耗道具
/// </summary>
public System.Collections.Generic.List<item.ItemCounts> CostItems { get; private set; }
@ -158,17 +101,7 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
+ "RoleID:" + RoleID + ","
+ "AwakingLevel:" + AwakingLevel + ","
+ "AttributeGroup:" + Luban.StringUtil.CollectionToString(AttributeGroup) + ","
+ "Defence:" + Defence + ","
+ "Hp:" + Hp + ","
+ "Shield:" + Shield + ","
+ "Speed:" + Speed + ","
+ "Corrage:" + Corrage + ","
+ "CorrageRecover:" + CorrageRecover + ","
+ "CriticalRatio:" + CriticalRatio + ","
+ "CriticalDamage:" + CriticalDamage + ","
+ "SkillPropModifyList:" + Luban.StringUtil.CollectionToString(SkillPropModifyList) + ","
+ "PassiveSkillID:" + PassiveSkillID + ","
+ "WeaponGrasp:" + WeaponGrasp + ","
+ "CostItems:" + Luban.StringUtil.CollectionToString(CostItems) + ","
+ "SkillModifyDesc:" + SkillModifyDesc + ","
+ "Name:" + Name + ","

View File

@ -25,39 +25,23 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
{ if(!_buf["WeaponId"].IsNumber) { throw new SerializationException(); } WeaponId = _buf["WeaponId"]; }
{ if(!_buf["SpendLeadership"].IsNumber) { throw new SerializationException(); } SpendLeadership = _buf["SpendLeadership"]; }
{ var __json0 = _buf["AttributeGroup"]; if(!__json0.IsArray) { throw new SerializationException(); } AttributeGroup = new System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { ActorCfg.AttributeType _k0; { if(!__e0[0].IsNumber) { throw new SerializationException(); } _k0 = (ActorCfg.AttributeType)__e0[0].AsInt; } float _v0; { if(!__e0[1].IsNumber) { throw new SerializationException(); } _v0 = __e0[1]; } AttributeGroup.Add(_k0, _v0); } }
{ if(!_buf["Defence"].IsNumber) { throw new SerializationException(); } Defence = _buf["Defence"]; }
{ if(!_buf["Hp"].IsNumber) { throw new SerializationException(); } Hp = _buf["Hp"]; }
{ if(!_buf["Shield"].IsNumber) { throw new SerializationException(); } Shield = _buf["Shield"]; }
{ if(!_buf["Speed"].IsNumber) { throw new SerializationException(); } Speed = _buf["Speed"]; }
{ if(!_buf["Corrage"].IsNumber) { throw new SerializationException(); } Corrage = _buf["Corrage"]; }
{ if(!_buf["CriticalRatio"].IsNumber) { throw new SerializationException(); } CriticalRatio = _buf["CriticalRatio"]; }
{ if(!_buf["CriticalDamage"].IsNumber) { throw new SerializationException(); } CriticalDamage = _buf["CriticalDamage"]; }
{ if(!_buf["LevelLimit"].IsNumber) { throw new SerializationException(); } LevelLimit = _buf["LevelLimit"]; }
{ var __json0 = _buf["SkillPropModifyList"]; if(!__json0.IsArray) { throw new SerializationException(); } SkillPropModifyList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } SkillPropModifyList.Add(__v0); } }
{ if(!_buf["PassiveSkillID"].IsNumber) { throw new SerializationException(); } PassiveSkillID = _buf["PassiveSkillID"]; }
{ 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["SkillModifyDesc"].IsString) { throw new SerializationException(); } SkillModifyDesc = _buf["SkillModifyDesc"]; }
{ if(!_buf["Name"].IsString) { throw new SerializationException(); } Name = _buf["Name"]; }
{ if(!_buf["IconPathLight"].IsString) { throw new SerializationException(); } IconPathLight = _buf["IconPathLight"]; }
}
public DataCharacterBreak(int RoleID, int BreakLevel, int WeaponId, int SpendLeadership, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup, int Defence, int Hp, int Shield, float Speed, float Corrage, float CriticalRatio, float CriticalDamage, int LevelLimit, System.Collections.Generic.List<int> SkillPropModifyList, int PassiveSkillID, System.Collections.Generic.List<item.ItemCounts> CostItems, string SkillModifyDesc, string Name, string IconPathLight )
public DataCharacterBreak(int RoleID, int BreakLevel, int WeaponId, int SpendLeadership, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup, int LevelLimit, System.Collections.Generic.List<int> SkillPropModifyList, System.Collections.Generic.List<item.ItemCounts> CostItems, string SkillModifyDesc, string Name, string IconPathLight )
{
this.RoleID = RoleID;
this.BreakLevel = BreakLevel;
this.WeaponId = WeaponId;
this.SpendLeadership = SpendLeadership;
this.AttributeGroup = AttributeGroup;
this.Defence = Defence;
this.Hp = Hp;
this.Shield = Shield;
this.Speed = Speed;
this.Corrage = Corrage;
this.CriticalRatio = CriticalRatio;
this.CriticalDamage = CriticalDamage;
this.LevelLimit = LevelLimit;
this.SkillPropModifyList = SkillPropModifyList;
this.PassiveSkillID = PassiveSkillID;
this.CostItems = CostItems;
this.SkillModifyDesc = SkillModifyDesc;
this.Name = Name;
@ -86,36 +70,11 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
/// 花费领导力
/// </summary>
public int SpendLeadership { get; private set; }
/// <summary>
/// 生命
/// </summary>
public System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup { get; private set; }
/// <summary>
/// 防御力
/// </summary>
public int Defence { get; private set; }
/// <summary>
/// 血量
/// </summary>
public int Hp { get; private set; }
/// <summary>
/// 护盾
/// </summary>
public int Shield { get; private set; }
/// <summary>
/// 移速
/// </summary>
public float Speed { get; private set; }
/// <summary>
/// 士气
/// </summary>
public float Corrage { get; private set; }
/// <summary>
/// 暴击率
/// </summary>
public float CriticalRatio { get; private set; }
/// <summary>
/// 暴击伤害
/// </summary>
public float CriticalDamage { get; private set; }
/// <summary>
/// 等级上限
/// </summary>
public int LevelLimit { get; private set; }
@ -124,10 +83,6 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
/// </summary>
public System.Collections.Generic.List<int> SkillPropModifyList { get; private set; }
/// <summary>
/// 被动技能ID
/// </summary>
public int PassiveSkillID { get; private set; }
/// <summary>
/// 消耗道具
/// </summary>
public System.Collections.Generic.List<item.ItemCounts> CostItems { get; private set; }
@ -160,16 +115,8 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
+ "WeaponId:" + WeaponId + ","
+ "SpendLeadership:" + SpendLeadership + ","
+ "AttributeGroup:" + Luban.StringUtil.CollectionToString(AttributeGroup) + ","
+ "Defence:" + Defence + ","
+ "Hp:" + Hp + ","
+ "Shield:" + Shield + ","
+ "Speed:" + Speed + ","
+ "Corrage:" + Corrage + ","
+ "CriticalRatio:" + CriticalRatio + ","
+ "CriticalDamage:" + CriticalDamage + ","
+ "LevelLimit:" + LevelLimit + ","
+ "SkillPropModifyList:" + Luban.StringUtil.CollectionToString(SkillPropModifyList) + ","
+ "PassiveSkillID:" + PassiveSkillID + ","
+ "CostItems:" + Luban.StringUtil.CollectionToString(CostItems) + ","
+ "SkillModifyDesc:" + SkillModifyDesc + ","
+ "Name:" + Name + ","

File diff suppressed because it is too large Load Diff