56 lines
1.3 KiB
C#
Raw Normal View History

2024-11-26 15:44:50 +08:00
//------------------------------------------------------------------------------
// <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
{
public sealed partial class BBuild : Luban.BeanBase
{
public BBuild(JSONNode _buf)
{
{ if(!_buf["ID"].IsNumber) { throw new SerializationException(); } ID = _buf["ID"]; }
{ if(!_buf["Buildingsum"].IsNumber) { throw new SerializationException(); } Buildingsum = _buf["Buildingsum"]; }
}
public static BBuild DeserializeBBuild(JSONNode _buf)
{
return new BBuild(_buf);
}
/// <summary>
/// ID
/// </summary>
public readonly int ID;
/// <summary>
/// 升级所需的等级总和
/// </summary>
public readonly int Buildingsum;
public const int __ID__ = 1954066252;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "ID:" + ID + ","
+ "Buildingsum:" + Buildingsum + ","
+ "}";
}
}
}