80 lines
2.5 KiB
C#
Raw Normal View History

//------------------------------------------------------------------------------
// <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 SkillStructureData : Luban.BeanBase
{
public SkillStructureData(JSONNode _buf)
{
{ if(!_buf["SkillbodyID"].IsNumber) { throw new SerializationException(); } SkillbodyID = _buf["SkillbodyID"]; }
{ if(!_buf["Skillbodyicon"].IsString) { throw new SerializationException(); } Skillbodyicon = _buf["Skillbodyicon"]; }
{ if(!_buf["Skillbodyeffect"].IsString) { throw new SerializationException(); } Skillbodyeffect = _buf["Skillbodyeffect"]; }
{ if(!_buf["Skillbodytime"].IsNumber) { throw new SerializationException(); } Skillbodytime = _buf["Skillbodytime"]; }
{ if(!_buf["Skillbody"].IsNumber) { throw new SerializationException(); } Skillbody = _buf["Skillbody"]; }
{ if(!_buf["Continued"].IsNumber) { throw new SerializationException(); } Continued = _buf["Continued"]; }
}
public static SkillStructureData DeserializeSkillStructureData(JSONNode _buf)
{
return new BlacksmithData.SkillStructureData(_buf);
}
/// <summary>
/// 技能体ID
/// </summary>
public readonly int SkillbodyID;
/// <summary>
/// 技能体图
/// </summary>
public readonly string Skillbodyicon;
/// <summary>
/// 技能体特效
/// </summary>
public readonly string Skillbodyeffect;
/// <summary>
/// 碰撞时长
/// </summary>
public readonly int Skillbodytime;
/// <summary>
/// 携带BUFF
/// </summary>
public readonly int Skillbody;
/// <summary>
/// 持续时间伤害间隔
/// </summary>
public readonly int Continued;
public const int __ID__ = 1595336108;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "SkillbodyID:" + SkillbodyID + ","
+ "Skillbodyicon:" + Skillbodyicon + ","
+ "Skillbodyeffect:" + Skillbodyeffect + ","
+ "Skillbodytime:" + Skillbodytime + ","
+ "Skillbody:" + Skillbody + ","
+ "Continued:" + Continued + ","
+ "}";
}
}
}