6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) + game logic (GameFix/GameDAL/ServerData) + network layer (NetWorkMessage) + data layer (ObjectModel) + utilities (MrWu/Core/Config/CloudAPI/dll) + adapters (zyxAdapter/base) .NET 8.0 C# solution, 16 projects, 958 source files
63 lines
1.5 KiB
C#
63 lines
1.5 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;
|
|
|
|
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// ID
|
|
/// </summary>
|
|
public readonly int Id;
|
|
/// <summary>
|
|
/// 服务器游戏id
|
|
/// </summary>
|
|
public readonly int GameId;
|
|
/// <summary>
|
|
/// 真人数量
|
|
/// </summary>
|
|
public readonly int PlayerCnt;
|
|
/// <summary>
|
|
/// 强制排队的概率<br/>(排机器人)
|
|
/// </summary>
|
|
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 + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|