//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ 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); } /// /// 技能体ID /// public readonly int SkillbodyID; /// /// 技能体图 /// public readonly string Skillbodyicon; /// /// 技能体特效 /// public readonly string Skillbodyeffect; /// /// 碰撞时长 /// public readonly int Skillbodytime; /// /// 携带BUFF /// public readonly int Skillbody; /// /// 持续时间伤害间隔 /// 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 + "," + "}"; } } }