导出配表

main
刘涛 2025-12-12 13:08:23 +08:00
parent cedfe1c591
commit c25e6d0346
14 changed files with 1039 additions and 23 deletions

View File

@ -25,19 +25,21 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
{ 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["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); } }
{ 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["SkillModifyDesc"].IsString) { throw new SerializationException(); } SkillModifyDesc = _buf["SkillModifyDesc"]; }
{ if(!_buf["Name"].IsString) { throw new SerializationException(); } Name = _buf["Name"]; }
{ if(!_buf["IconDarkPath"].IsString) { throw new SerializationException(); } IconDarkPath = _buf["IconDarkPath"]; }
{ 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<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, System.Collections.Generic.List<int> SkillPropModifyList, string SkillModifyDesc, string Name, string IconDarkPath, string IconLightPath )
{
this.RoleID = RoleID;
this.AwakingLevel = AwakingLevel;
this.AttributeGroup = AttributeGroup;
this.AttributeGrowthFactor = AttributeGrowthFactor;
this.CostItems = CostItems;
this.SkillPropModifyList = SkillPropModifyList;
this.SkillModifyDesc = SkillModifyDesc;
this.Name = Name;
this.IconDarkPath = IconDarkPath;
@ -71,6 +73,10 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
/// </summary>
public System.Collections.Generic.List<item.ItemCounts> CostItems { get; private set; }
/// <summary>
/// 技能变动
/// </summary>
public System.Collections.Generic.List<int> SkillPropModifyList { get; private set; }
/// <summary>
/// 技能变动描述
/// </summary>
public string SkillModifyDesc { get; private set; }
@ -103,6 +109,7 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
+ "AttributeGroup:" + Luban.StringUtil.CollectionToString(AttributeGroup) + ","
+ "AttributeGrowthFactor:" + Luban.StringUtil.CollectionToString(AttributeGrowthFactor) + ","
+ "CostItems:" + Luban.StringUtil.CollectionToString(CostItems) + ","
+ "SkillPropModifyList:" + Luban.StringUtil.CollectionToString(SkillPropModifyList) + ","
+ "SkillModifyDesc:" + SkillModifyDesc + ","
+ "Name:" + Name + ","
+ "IconDarkPath:" + IconDarkPath + ","

View File

@ -27,12 +27,13 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
{ 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["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); } }
{ 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["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<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, System.Collections.Generic.List<int> SkillPropModifyList, string SkillModifyDesc, string Name, string IconPathLight )
{
this.RoleID = RoleID;
this.BreakLevel = BreakLevel;
@ -41,6 +42,7 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
this.AttributeGroup = AttributeGroup;
this.LevelLimit = LevelLimit;
this.CostItems = CostItems;
this.SkillPropModifyList = SkillPropModifyList;
this.SkillModifyDesc = SkillModifyDesc;
this.Name = Name;
this.IconPathLight = IconPathLight;
@ -81,6 +83,10 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
/// </summary>
public System.Collections.Generic.List<item.ItemCounts> CostItems { get; private set; }
/// <summary>
/// 技能变动
/// </summary>
public System.Collections.Generic.List<int> SkillPropModifyList { get; private set; }
/// <summary>
/// 技能变动描述
/// </summary>
public string SkillModifyDesc { get; private set; }
@ -111,6 +117,7 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
+ "AttributeGroup:" + Luban.StringUtil.CollectionToString(AttributeGroup) + ","
+ "LevelLimit:" + LevelLimit + ","
+ "CostItems:" + Luban.StringUtil.CollectionToString(CostItems) + ","
+ "SkillPropModifyList:" + Luban.StringUtil.CollectionToString(SkillPropModifyList) + ","
+ "SkillModifyDesc:" + SkillModifyDesc + ","
+ "Name:" + Name + ","
+ "IconPathLight:" + IconPathLight + ","

View File

@ -0,0 +1,100 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
using SimpleJSON;
namespace cfg
{
public sealed partial class DataGlobalTrainLevelConfig : Luban.BeanBase
{
public JSONNode cacheJsonNode {get; private set;}
public DataGlobalTrainLevelConfig(JSONNode _buf)
{
cacheJsonNode = _buf;
{ if(!_buf["UseTrainId"].IsNumber) { throw new SerializationException(); } UseTrainId = _buf["UseTrainId"]; }
{ if(!_buf["TrainBornCellIndex"].IsNumber) { throw new SerializationException(); } TrainBornCellIndex = _buf["TrainBornCellIndex"]; }
{ if(!_buf["TrainEndCellIndex"].IsNumber) { throw new SerializationException(); } TrainEndCellIndex = _buf["TrainEndCellIndex"]; }
{ if(!_buf["FadeOutTime"].IsNumber) { throw new SerializationException(); } FadeOutTime = _buf["FadeOutTime"]; }
{ if(!_buf["WaitMidTime"].IsNumber) { throw new SerializationException(); } WaitMidTime = _buf["WaitMidTime"]; }
{ if(!_buf["FadeInTime"].IsNumber) { throw new SerializationException(); } FadeInTime = _buf["FadeInTime"]; }
{ if(!_buf["WaitStartMoveTime"].IsNumber) { throw new SerializationException(); } WaitStartMoveTime = _buf["WaitStartMoveTime"]; }
}
public DataGlobalTrainLevelConfig(int UseTrainId, int TrainBornCellIndex, int TrainEndCellIndex, float FadeOutTime, float WaitMidTime, float FadeInTime, float WaitStartMoveTime )
{
this.UseTrainId = UseTrainId;
this.TrainBornCellIndex = TrainBornCellIndex;
this.TrainEndCellIndex = TrainEndCellIndex;
this.FadeOutTime = FadeOutTime;
this.WaitMidTime = WaitMidTime;
this.FadeInTime = FadeInTime;
this.WaitStartMoveTime = WaitStartMoveTime;
}
public static DataGlobalTrainLevelConfig DeserializeDataGlobalTrainLevelConfig(JSONNode _buf)
{
return new DataGlobalTrainLevelConfig(_buf);
}
/// <summary>
/// 火车关卡使用的火车id
/// </summary>
public int UseTrainId { get; private set; }
/// <summary>
/// 火车头出生位置
/// </summary>
public int TrainBornCellIndex { get; private set; }
/// <summary>
/// 火车达到位置-到达该位置后开始刹车
/// </summary>
public int TrainEndCellIndex { get; private set; }
/// <summary>
/// 角色开场淡出时间
/// </summary>
public float FadeOutTime { get; private set; }
/// <summary>
/// 角色完全隐藏后的等待时间
/// </summary>
public float WaitMidTime { get; private set; }
/// <summary>
/// 角色移动到火车上之后渐变出现时间
/// </summary>
public float FadeInTime { get; private set; }
/// <summary>
/// 角色完全准备就绪后,火车启动的延迟时间
/// </summary>
public float WaitStartMoveTime { get; private set; }
public const int __ID__ = -1624287509;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "UseTrainId:" + UseTrainId + ","
+ "TrainBornCellIndex:" + TrainBornCellIndex + ","
+ "TrainEndCellIndex:" + TrainEndCellIndex + ","
+ "FadeOutTime:" + FadeOutTime + ","
+ "WaitMidTime:" + WaitMidTime + ","
+ "FadeInTime:" + FadeInTime + ","
+ "WaitStartMoveTime:" + WaitStartMoveTime + ","
+ "}";
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7eadfedfc878f8a438f9d2f1c6df793a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,67 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
using SimpleJSON;
namespace cfg
{
public partial class GlobalTrainLevelConfig
{
private readonly DataGlobalTrainLevelConfig _data;
public DataGlobalTrainLevelConfig Data => _data;
public GlobalTrainLevelConfig(JSONNode _buf)
{
int n = _buf.Count;
if (n != 1) throw new SerializationException("table mode=one, but size != 1");
{ if(!_buf[0].IsObject) { throw new SerializationException(); } _data = global::cfg.DataGlobalTrainLevelConfig.DeserializeDataGlobalTrainLevelConfig(_buf[0]); }
}
/// <summary>
/// 火车关卡使用的火车id
/// </summary>
public int UseTrainId => _data.UseTrainId;
/// <summary>
/// 火车头出生位置
/// </summary>
public int TrainBornCellIndex => _data.TrainBornCellIndex;
/// <summary>
/// 火车达到位置-到达该位置后开始刹车
/// </summary>
public int TrainEndCellIndex => _data.TrainEndCellIndex;
/// <summary>
/// 角色开场淡出时间
/// </summary>
public float FadeOutTime => _data.FadeOutTime;
/// <summary>
/// 角色完全隐藏后的等待时间
/// </summary>
public float WaitMidTime => _data.WaitMidTime;
/// <summary>
/// 角色移动到火车上之后渐变出现时间
/// </summary>
public float FadeInTime => _data.FadeInTime;
/// <summary>
/// 角色完全准备就绪后,火车启动的延迟时间
/// </summary>
public float WaitStartMoveTime => _data.WaitStartMoveTime;
public void ResolveRef(Tables tables)
{
_data.ResolveRef(tables);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8370ae2bf1839824fa2ef03f798dfae8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -209,7 +209,7 @@ public sealed partial class DataLevel : Luban.BeanBase
/// </summary>
public int[] StarTaskId { get; private set; }
/// <summary>
/// 关卡数据LevelData_关卡类型标记_关卡ID<br/>关卡类型主线1、资源2、挑战3活动4
/// 关卡数据LevelData_关卡ID
/// </summary>
public string LevelData { get; private set; }
/// <summary>

View File

@ -26,6 +26,7 @@ public partial class Tables
public SummonCfg.SummonConfig SummonConfig {get; }
public StringCfg.StringConfig StringConfig {get; }
public GlobalConfig GlobalConfig {get; }
public GlobalTrainLevelConfig GlobalTrainLevelConfig {get; }
public GlobalLegionConfig GlobalLegionConfig {get; }
public CharacterCfg.CharacterAwaking CharacterAwaking {get; }
public CharacterCfg.CharacterLikability CharacterLikability {get; }
@ -176,6 +177,7 @@ public partial class Tables
SummonConfig = new SummonCfg.SummonConfig(loader("summoncfg_summonconfig"));
StringConfig = new StringCfg.StringConfig(loader("stringcfg_stringconfig"));
GlobalConfig = new GlobalConfig(loader("globalconfig"));
GlobalTrainLevelConfig = new GlobalTrainLevelConfig(loader("globaltrainlevelconfig"));
GlobalLegionConfig = new GlobalLegionConfig(loader("globallegionconfig"));
CharacterAwaking = new CharacterCfg.CharacterAwaking(loader("charactercfg_characterawaking"));
CharacterLikability = new CharacterCfg.CharacterLikability(loader("charactercfg_characterlikability"));
@ -328,6 +330,7 @@ public partial class Tables
SummonConfig.ResolveRef(this);
StringConfig.ResolveRef(this);
GlobalConfig.ResolveRef(this);
GlobalTrainLevelConfig.ResolveRef(this);
GlobalLegionConfig.ResolveRef(this);
CharacterAwaking.ResolveRef(this);
CharacterLikability.ResolveRef(this);
@ -479,6 +482,7 @@ public partial class Tables
loader("summoncfg_summonconfig");
loader("stringcfg_stringconfig");
loader("globalconfig");
loader("globaltrainlevelconfig");
loader("globallegionconfig");
loader("charactercfg_characterawaking");
loader("charactercfg_characterlikability");
@ -630,6 +634,7 @@ public partial class Tables
loader("summoncfg_summonconfig");
loader("stringcfg_stringconfig");
loader("globalconfig");
loader("globaltrainlevelconfig");
loader("globallegionconfig");
loader("charactercfg_characterawaking");
loader("charactercfg_characterlikability");

View File

@ -9,7 +9,7 @@
"ItemID": 11,
"ItemCount": 60,
"ExtraItemCount": 30,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 10,
"NowPriceRMB": 6,
"ShowInShop": true,
@ -28,7 +28,7 @@
"ItemID": 11,
"ItemCount": 300,
"ExtraItemCount": 100,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 10,
"NowPriceRMB": 30,
"ShowInShop": true,
@ -47,7 +47,7 @@
"ItemID": 11,
"ItemCount": 1280,
"ExtraItemCount": 300,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 10,
"NowPriceRMB": 128,
"ShowInShop": true,
@ -66,7 +66,7 @@
"ItemID": 11,
"ItemCount": 1980,
"ExtraItemCount": 500,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 10,
"NowPriceRMB": 198,
"ShowInShop": true,
@ -85,7 +85,7 @@
"ItemID": 11,
"ItemCount": 3280,
"ExtraItemCount": 800,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 10,
"NowPriceRMB": 328,
"ShowInShop": true,
@ -104,7 +104,7 @@
"ItemID": 11,
"ItemCount": 6480,
"ExtraItemCount": 1000,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 10,
"NowPriceRMB": 648,
"ShowInShop": true,
@ -123,7 +123,7 @@
"ItemID": 1110001,
"ItemCount": 10,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 10,
"NowPriceRMB": 36,
"ShowInShop": false,
@ -142,7 +142,7 @@
"ItemID": 1220002,
"ItemCount": 1,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 10,
"NowPriceRMB": 68,
"ShowInShop": false,
@ -161,7 +161,7 @@
"ItemID": 1220003,
"ItemCount": 1,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 14,
"NowPriceRMB": 99,
"ShowInShop": false,
@ -180,7 +180,7 @@
"ItemID": 1220004,
"ItemCount": 1,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 4,
"NowPriceRMB": 31,
"ShowInShop": false,
@ -199,7 +199,7 @@
"ItemID": 1230001,
"ItemCount": 1,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 5,
"NowPriceRMB": 30,
"ShowInShop": false,
@ -237,7 +237,7 @@
"ItemID": 102101,
"ItemCount": 1,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 6,
"NowPriceRMB": 6,
"ShowInShop": false,
@ -256,7 +256,7 @@
"ItemID": 1230002,
"ItemCount": 1,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 5,
"NowPriceRMB": 5,
"ShowInShop": false,
@ -275,7 +275,7 @@
"ItemID": 1230003,
"ItemCount": 1,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 10,
"NowPriceRMB": 10,
"ShowInShop": false,
@ -294,7 +294,7 @@
"ItemID": 1230004,
"ItemCount": 1,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 18,
"NowPriceRMB": 18,
"ShowInShop": false,
@ -313,7 +313,7 @@
"ItemID": 1230005,
"ItemCount": 1,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 28,
"NowPriceRMB": 28,
"ShowInShop": false,
@ -332,7 +332,7 @@
"ItemID": 1110003,
"ItemCount": 10,
"ExtraItemCount": 0,
"MaxCount": 1,
"MaxCount": 0,
"NowPriceDollar": 1694,
"NowPriceRMB": 120,
"ShowInShop": false,

View File

@ -355,9 +355,9 @@
"PurchaseRaffleUpList": [
100012
],
"PvpPowerCheckParamA": 0.1,
"PvpPowerCheckParamB": 0.2,
"PvpAntiMaxCount": 3,
"PvpPowerCheckParamA": 0.9,
"PvpPowerCheckParamB": 0.7,
"PvpAntiMaxCount": 1,
"LevelEditorConditionTypeList": [
4,
5,

View File

@ -0,0 +1,11 @@
[
{
"UseTrainId": 1,
"TrainBornCellIndex": 361,
"TrainEndCellIndex": 413,
"FadeOutTime": 1,
"WaitMidTime": 0.5,
"FadeInTime": 1,
"WaitStartMoveTime": 1
}
]

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a8571309e202a2046a501cf5afeb494a
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: