导出配表

main
刘涛 2025-11-12 19:50:22 +08:00
parent de142931c1
commit cbaf39944c
10 changed files with 193 additions and 809 deletions

View File

@ -69,7 +69,7 @@ public sealed partial class DataAttributeBase : Luban.BeanBase
/// </summary>
public string AttShowIcon { get; private set; }
/// <summary>
/// 属性显示类型<br/>0(或不填)=默认显示原始数值保留小数点后2位0.01<br/>1=显示整数(四舍五入取整)<br/>2=显示整数(向下取整)<br/>3=百分比带%保留小数点后1位0.1%<br/>4=百分比不带%保留小数点后2位0.01
/// 属性显示类型<br/>0(或不填)=默认显示原始数值保留小数点后2位0.01<br/>1=显示整数(四舍五入取整)<br/>2=显示整数(向下取整)<br/>3=百分比带%保留小数点后1位0.1%<br/>4=百分比不带%保留小数点后2位0.01<br/>5=bool属性=0属性=1其他值报错
/// </summary>
public int AttShowType { get; private set; }
/// <summary>

View File

@ -24,7 +24,6 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
{ 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); } }
{ var __json0 = _buf["AttributeGrowthFactor"]; if(!__json0.IsArray) { throw new SerializationException(); } AttributeGrowthFactor = 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]; } AttributeGrowthFactor.Add(_k0, _v0); } }
{ 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); } }
{ 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"]; }
@ -32,13 +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, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGrowthFactor, System.Collections.Generic.List<int> SkillPropModifyList, 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.Dictionary<ActorCfg.AttributeType, float> AttributeGrowthFactor, 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.AttributeGrowthFactor = AttributeGrowthFactor;
this.SkillPropModifyList = SkillPropModifyList;
this.CostItems = CostItems;
this.SkillModifyDesc = SkillModifyDesc;
this.Name = Name;
@ -61,7 +59,7 @@ 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>
@ -69,10 +67,6 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
/// </summary>
public System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGrowthFactor { get; private set; }
/// <summary>
/// 技能变动
/// </summary>
public System.Collections.Generic.List<int> SkillPropModifyList { get; private set; }
/// <summary>
/// 消耗道具
/// </summary>
public System.Collections.Generic.List<item.ItemCounts> CostItems { get; private set; }
@ -108,7 +102,6 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
+ "AwakingLevel:" + AwakingLevel + ","
+ "AttributeGroup:" + Luban.StringUtil.CollectionToString(AttributeGroup) + ","
+ "AttributeGrowthFactor:" + Luban.StringUtil.CollectionToString(AttributeGrowthFactor) + ","
+ "SkillPropModifyList:" + Luban.StringUtil.CollectionToString(SkillPropModifyList) + ","
+ "CostItems:" + Luban.StringUtil.CollectionToString(CostItems) + ","
+ "SkillModifyDesc:" + SkillModifyDesc + ","
+ "Name:" + Name + ","

View File

@ -26,14 +26,13 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
{ 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["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); } }
{ 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 LevelLimit, System.Collections.Generic.List<int> SkillPropModifyList, 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<item.ItemCounts> CostItems, string SkillModifyDesc, string Name, string IconPathLight )
{
this.RoleID = RoleID;
this.BreakLevel = BreakLevel;
@ -41,7 +40,6 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
this.SpendLeadership = SpendLeadership;
this.AttributeGroup = AttributeGroup;
this.LevelLimit = LevelLimit;
this.SkillPropModifyList = SkillPropModifyList;
this.CostItems = CostItems;
this.SkillModifyDesc = SkillModifyDesc;
this.Name = Name;
@ -79,10 +77,6 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
/// </summary>
public int LevelLimit { get; private set; }
/// <summary>
/// 技能变动
/// </summary>
public System.Collections.Generic.List<int> SkillPropModifyList { get; private set; }
/// <summary>
/// 消耗道具
/// </summary>
public System.Collections.Generic.List<item.ItemCounts> CostItems { get; private set; }
@ -116,7 +110,6 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
+ "SpendLeadership:" + SpendLeadership + ","
+ "AttributeGroup:" + Luban.StringUtil.CollectionToString(AttributeGroup) + ","
+ "LevelLimit:" + LevelLimit + ","
+ "SkillPropModifyList:" + Luban.StringUtil.CollectionToString(SkillPropModifyList) + ","
+ "CostItems:" + Luban.StringUtil.CollectionToString(CostItems) + ","
+ "SkillModifyDesc:" + SkillModifyDesc + ","
+ "Name:" + Name + ","

File diff suppressed because one or more lines are too long

View File

@ -381,6 +381,10 @@ public partial class GlobalConfig
/// </summary>
public float FightUnhealthValue => _data.FightUnhealthValue;
/// <summary>
/// 放技能的统一黑屏时间
/// </summary>
public float FightSkillBlackCoverTime => _data.FightSkillBlackCoverTime;
/// <summary>
/// 战斗内时间缩放参数,必须为四个
/// </summary>
public System.Collections.Generic.List<float> FightSpeedParams => _data.FightSpeedParams;

View File

@ -814,5 +814,17 @@
"AttGrowthName": "AttGrowthDes",
"AttGrowthDes": "",
"ShowSort": 0
},
{
"AttID": 70,
"AttInfoName": "MoveShootType",
"RoleShowInBoard": 2,
"AttShowIcon": "",
"AttShowType": 5,
"AttName": "",
"AttDes": "",
"AttGrowthName": "AttGrowthDes",
"AttGrowthDes": "",
"ShowSort": 0
}
]

View File

@ -95,6 +95,10 @@
62,
0
],
[
15,
0
],
[
14,
3
@ -259,6 +263,10 @@
62,
0
],
[
15,
0
],
[
14,
1
@ -415,6 +423,10 @@
62,
0
],
[
15,
0
],
[
14,
1
@ -574,6 +586,10 @@
62,
0
],
[
15,
1
],
[
14,
8
@ -729,6 +745,10 @@
62,
0
],
[
15,
1
],
[
14,
10
@ -884,6 +904,10 @@
62,
0
],
[
15,
0
],
[
14,
3
@ -1045,6 +1069,10 @@
62,
0
],
[
15,
1
],
[
14,
10
@ -1200,6 +1228,10 @@
62,
0
],
[
15,
1
],
[
14,
8
@ -1355,6 +1387,10 @@
62,
0
],
[
15,
0
],
[
14,
3
@ -1516,6 +1552,10 @@
62,
0
],
[
15,
0
],
[
14,
3
@ -1673,6 +1713,10 @@
62,
0
],
[
15,
1
],
[
14,
8
@ -1829,6 +1873,10 @@
62,
0
],
[
15,
0
],
[
14,
15
@ -1985,6 +2033,10 @@
62,
0
],
[
15,
1
],
[
14,
8
@ -2140,6 +2192,10 @@
62,
0
],
[
15,
1
],
[
14,
8
@ -2295,6 +2351,10 @@
62,
0
],
[
15,
0
],
[
14,
3
@ -2456,6 +2516,10 @@
62,
0
],
[
15,
0
],
[
14,
1
@ -2613,6 +2677,10 @@
62,
0
],
[
15,
1
],
[
14,
8
@ -2768,6 +2836,10 @@
62,
0
],
[
15,
0
],
[
14,
1
@ -2925,6 +2997,10 @@
62,
0
],
[
15,
0
],
[
14,
2
@ -3082,6 +3158,10 @@
62,
0
],
[
15,
0
],
[
14,
10
@ -3237,6 +3317,10 @@
62,
0
],
[
15,
0
],
[
14,
15
@ -3393,6 +3477,10 @@
62,
0
],
[
15,
1
],
[
14,
8
@ -3554,6 +3642,10 @@
62,
0
],
[
15,
1
],
[
14,
10
@ -3708,6 +3800,10 @@
62,
0
],
[
15,
0
],
[
14,
15
@ -3865,6 +3961,10 @@
62,
0
],
[
15,
0
],
[
14,
3
@ -4022,6 +4122,10 @@
62,
0
],
[
15,
0
],
[
14,
15
@ -4178,6 +4282,10 @@
62,
0
],
[
15,
1
],
[
14,
8
@ -4334,6 +4442,10 @@
62,
0
],
[
15,
1
],
[
14,
8
@ -4490,6 +4602,10 @@
62,
0
],
[
15,
1
],
[
14,
10
@ -4645,6 +4761,10 @@
62,
0
],
[
15,
0
],
[
14,
1
@ -4802,6 +4922,10 @@
62,
0
],
[
15,
1
],
[
14,
8
@ -4963,6 +5087,10 @@
62,
0
],
[
15,
0
],
[
14,
1
@ -5121,6 +5249,10 @@
62,
0
],
[
15,
1
],
[
14,
10
@ -5276,6 +5408,10 @@
62,
0
],
[
15,
0
],
[
14,
16
@ -5433,6 +5569,10 @@
62,
0
],
[
15,
0
],
[
14,
1
@ -5591,6 +5731,10 @@
62,
0
],
[
15,
0
],
[
14,
6
@ -5746,6 +5890,10 @@
62,
0
],
[
15,
0
],
[
14,
3
@ -5905,6 +6053,10 @@
62,
0
],
[
15,
0
],
[
14,
3
@ -6060,6 +6212,10 @@
62,
0
],
[
15,
1
],
[
14,
10
@ -6213,6 +6369,10 @@
62,
0
],
[
15,
0
],
[
14,
15
@ -6367,6 +6527,10 @@
62,
0
],
[
15,
1
],
[
14,
8

View File

@ -109,6 +109,7 @@
"DamageYMinOffset": -8,
"DamageYMaxOffset": 8,
"FightUnhealthValue": 0.2,
"FightSkillBlackCoverTime": 10,
"FightSpeedParams": [
0,
0.3,