56 lines
1.3 KiB
C#
56 lines
1.3 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 TableConfig
|
|
{
|
|
public sealed partial class AttributeTable : Luban.BeanBase
|
|
{
|
|
public AttributeTable(JSONNode _buf)
|
|
{
|
|
{ if(!_buf["Name"].IsString) { throw new SerializationException(); } Name = _buf["Name"]; }
|
|
{ if(!_buf["Description"].IsString) { throw new SerializationException(); } Description = _buf["Description"]; }
|
|
}
|
|
|
|
public static AttributeTable DeserializeAttributeTable(JSONNode _buf)
|
|
{
|
|
return new AttributeTable(_buf);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
public readonly string Name;
|
|
/// <summary>
|
|
/// 描述
|
|
/// </summary>
|
|
public readonly string Description;
|
|
|
|
public const int __ID__ = 1320857266;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "Name:" + Name + ","
|
|
+ "Description:" + Description + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|
|
|