DESKTOP-DDTRVOR\asus 603752a380 添加排行榜
2024-12-28 15:00:14 +08:00

74 lines
2.0 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 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);
}
/// <summary>
/// ID
/// </summary>
public readonly int ID;
/// <summary>
/// 用户名称
/// </summary>
public readonly string Name;
/// <summary>
/// 最小分数
/// </summary>
public readonly int Fenshumin;
/// <summary>
/// 最大分数
/// </summary>
public readonly int Fenshumax;
/// <summary>
/// ICON
/// </summary>
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 + ","
+ "}";
}
}
}