//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Luban;
using SimpleJSON;
namespace cfg
{
public sealed partial class BRankList : Luban.BeanBase
{
public BRankList(JSONNode _buf)
{
{ if(!_buf["ID"].IsNumber) { throw new SerializationException(); } ID = _buf["ID"]; }
{ if(!_buf["Name"].IsString) { throw new SerializationException(); } Name = _buf["Name"]; }
{ if(!_buf["fenshumin"].IsNumber) { throw new SerializationException(); } Fenshumin = _buf["fenshumin"]; }
{ if(!_buf["fenshumax"].IsNumber) { throw new SerializationException(); } Fenshumax = _buf["fenshumax"]; }
{ if(!_buf["Icon"].IsString) { throw new SerializationException(); } Icon = _buf["Icon"]; }
}
public static BRankList DeserializeBRankList(JSONNode _buf)
{
return new BRankList(_buf);
}
///
/// ID
///
public readonly int ID;
///
/// 用户名称
///
public readonly string Name;
///
/// 最小分数
///
public readonly int Fenshumin;
///
/// 最大分数
///
public readonly int Fenshumax;
///
/// ICON
///
public readonly string Icon;
public const int __ID__ = 1287552332;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "ID:" + ID + ","
+ "Name:" + Name + ","
+ "fenshumin:" + Fenshumin + ","
+ "fenshumax:" + Fenshumax + ","
+ "Icon:" + Icon + ","
+ "}";
}
}
}