//------------------------------------------------------------------------------ // // 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 CraftingRecipesData : Luban.BeanBase { public CraftingRecipesData(JSONNode _buf) { { if(!_buf["ID"].IsNumber) { throw new SerializationException(); } ID = _buf["ID"]; } { if(!_buf["Levelprops1"].IsNumber) { throw new SerializationException(); } Levelprops1 = _buf["Levelprops1"]; } { if(!_buf["Levelprops2"].IsNumber) { throw new SerializationException(); } Levelprops2 = _buf["Levelprops2"]; } { if(!_buf["Levelprops3"].IsNumber) { throw new SerializationException(); } Levelprops3 = _buf["Levelprops3"]; } { if(!_buf["Levelprops4"].IsNumber) { throw new SerializationException(); } Levelprops4 = _buf["Levelprops4"]; } } public static CraftingRecipesData DeserializeCraftingRecipesData(JSONNode _buf) { return new BlacksmithData.CraftingRecipesData(_buf); } /// /// #道具ID /// public readonly int ID; /// /// 一材料 /// public readonly int Levelprops1; /// /// 二材料 /// public readonly int Levelprops2; /// /// 三材料 /// public readonly int Levelprops3; /// /// 四材料 /// public readonly int Levelprops4; public const int __ID__ = -175472115; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "ID:" + ID + "," + "Levelprops1:" + Levelprops1 + "," + "Levelprops2:" + Levelprops2 + "," + "Levelprops3:" + Levelprops3 + "," + "Levelprops4:" + Levelprops4 + "," + "}"; } } }