56 lines
1.2 KiB
C#
56 lines
1.2 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
|
|
{
|
|
public sealed partial class BDisplay : Luban.BeanBase
|
|
{
|
|
public BDisplay(JSONNode _buf)
|
|
{
|
|
{ if(!_buf["ID"].IsNumber) { throw new SerializationException(); } ID = _buf["ID"]; }
|
|
{ if(!_buf["Text"].IsString) { throw new SerializationException(); } Text = _buf["Text"]; }
|
|
}
|
|
|
|
public static BDisplay DeserializeBDisplay(JSONNode _buf)
|
|
{
|
|
return new BDisplay(_buf);
|
|
}
|
|
|
|
/// <summary>
|
|
/// ID
|
|
/// </summary>
|
|
public readonly int ID;
|
|
/// <summary>
|
|
/// 文本
|
|
/// </summary>
|
|
public readonly string Text;
|
|
|
|
public const int __ID__ = -1897184736;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "ID:" + ID + ","
|
|
+ "Text:" + Text + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|
|
|