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 cfg
|
||
|
{
|
||
|
public sealed partial class CityIndex : Luban.BeanBase
|
||
|
{
|
||
|
public CityIndex(JSONNode _buf)
|
||
|
{
|
||
|
{ if(!_buf["index"].IsNumber) { throw new SerializationException(); } Index = _buf["index"]; }
|
||
|
{ if(!_buf["id"].IsNumber) { throw new SerializationException(); } Id = _buf["id"]; }
|
||
|
}
|
||
|
|
||
|
public static CityIndex DeserializeCityIndex(JSONNode _buf)
|
||
|
{
|
||
|
return new CityIndex(_buf);
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 按钮位置
|
||
|
/// </summary>
|
||
|
public readonly int Index;
|
||
|
/// <summary>
|
||
|
/// id
|
||
|
/// </summary>
|
||
|
public readonly int Id;
|
||
|
|
||
|
public const int __ID__ = 877259271;
|
||
|
public override int GetTypeId() => __ID__;
|
||
|
|
||
|
public void ResolveRef(Tables tables)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public override string ToString()
|
||
|
{
|
||
|
return "{ "
|
||
|
+ "index:" + Index + ","
|
||
|
+ "id:" + Id + ","
|
||
|
+ "}";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|