74 lines
2.1 KiB
C#
74 lines
2.1 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 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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// #道具ID
|
|
/// </summary>
|
|
public readonly int ID;
|
|
/// <summary>
|
|
/// 一材料
|
|
/// </summary>
|
|
public readonly int Levelprops1;
|
|
/// <summary>
|
|
/// 二材料
|
|
/// </summary>
|
|
public readonly int Levelprops2;
|
|
/// <summary>
|
|
/// 三材料
|
|
/// </summary>
|
|
public readonly int Levelprops3;
|
|
/// <summary>
|
|
/// 四材料
|
|
/// </summary>
|
|
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 + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|
|
|