//------------------------------------------------------------------------------
//
// 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;
namespace Server.Config
{
public sealed partial class TingConfig : Luban.BeanBase
{
public TingConfig(ByteBuf _buf)
{
Id = _buf.ReadInt();
GameId = _buf.ReadInt();
TingId = _buf.ReadInt();
TingName = _buf.ReadString();
MinPlayerCnt = _buf.ReadInt();
MaxPlayerCnt = _buf.ReadInt();
DeskMaxRobotCnt = _buf.ReadInt();
DeskCnt = _buf.ReadInt();
QueueName = _buf.ReadString();
}
public static TingConfig DeserializeTingConfig(ByteBuf _buf)
{
return new TingConfig(_buf);
}
///
/// id
///
public readonly int Id;
///
/// 服务器Id
///
public readonly int GameId;
///
/// 厅Id
///
public readonly int TingId;
///
/// 厅名称
///
public readonly string TingName;
///
/// 最小开战人数
///
public readonly int MinPlayerCnt;
///
/// 最大开战人数
///
public readonly int MaxPlayerCnt;
///
/// 桌上机器人最大数量
///
public readonly int DeskMaxRobotCnt;
///
/// 桌子数量
0表示自动创建
1表示固定创建
///
public readonly int DeskCnt;
///
/// 排队器名称
///
public readonly string QueueName;
public const int __ID__ = 1546793968;
public override int GetTypeId() => __ID__;
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "gameId:" + GameId + ","
+ "tingId:" + TingId + ","
+ "tingName:" + TingName + ","
+ "minPlayerCnt:" + MinPlayerCnt + ","
+ "maxPlayerCnt:" + MaxPlayerCnt + ","
+ "deskMaxRobotCnt:" + DeskMaxRobotCnt + ","
+ "deskCnt:" + DeskCnt + ","
+ "queueName:" + QueueName + ","
+ "}";
}
}
}