56 lines
1.4 KiB
C#
56 lines
1.4 KiB
C#
|
|
||
|
//------------------------------------------------------------------------------
|
||
|
// <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.BlacksmithData
|
||
|
{
|
||
|
public sealed partial class WeaponSkillData : Luban.BeanBase
|
||
|
{
|
||
|
public WeaponSkillData(JSONNode _buf)
|
||
|
{
|
||
|
{ if(!_buf["ID"].IsNumber) { throw new SerializationException(); } ID = _buf["ID"]; }
|
||
|
{ if(!_buf["Initialskill"].IsNumber) { throw new SerializationException(); } Initialskill = _buf["Initialskill"]; }
|
||
|
}
|
||
|
|
||
|
public static WeaponSkillData DeserializeWeaponSkillData(JSONNode _buf)
|
||
|
{
|
||
|
return new BlacksmithData.WeaponSkillData(_buf);
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// ID
|
||
|
/// </summary>
|
||
|
public readonly int ID;
|
||
|
/// <summary>
|
||
|
/// 默认技能
|
||
|
/// </summary>
|
||
|
public readonly int Initialskill;
|
||
|
|
||
|
public const int __ID__ = 1887895071;
|
||
|
public override int GetTypeId() => __ID__;
|
||
|
|
||
|
public void ResolveRef(Tables tables)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public override string ToString()
|
||
|
{
|
||
|
return "{ "
|
||
|
+ "ID:" + ID + ","
|
||
|
+ "Initialskill:" + Initialskill + ","
|
||
|
+ "}";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|