//------------------------------------------------------------------------------
//
// 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 QueueConfig : Luban.BeanBase
{
public QueueConfig(ByteBuf _buf)
{
Id = _buf.ReadInt();
GameId = _buf.ReadInt();
PlayerCnt = _buf.ReadInt();
MergeRobotProb = _buf.ReadFloat();
}
public static QueueConfig DeserializeQueueConfig(ByteBuf _buf)
{
return new QueueConfig(_buf);
}
///
/// ID
///
public readonly int Id;
///
/// 服务器游戏id
///
public readonly int GameId;
///
/// 真人数量
///
public readonly int PlayerCnt;
///
/// 强制排队的概率
(排机器人)
///
public readonly float MergeRobotProb;
public const int __ID__ = 307257235;
public override int GetTypeId() => __ID__;
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "gameId:" + GameId + ","
+ "playerCnt:" + PlayerCnt + ","
+ "mergeRobotProb:" + MergeRobotProb + ","
+ "}";
}
}
}