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
29 lines
746 B
C#
29 lines
746 B
C#
using Server.Core;
|
|
|
|
namespace Server.Net
|
|
{
|
|
public class GameNetMsgId
|
|
{
|
|
public static int curSor = 0;
|
|
|
|
// /// <summary>
|
|
// /// 会话已连接
|
|
// /// </summary>
|
|
// public static readonly uint SessionConnected = ++curSor;
|
|
|
|
/// <summary>
|
|
/// 会话断开
|
|
/// </summary>
|
|
public static readonly int SessionDisConnected = ++curSor;
|
|
|
|
/// <summary>
|
|
/// 会话绑定用户事件
|
|
/// </summary>
|
|
public static readonly int SessionBindUser = ++curSor;
|
|
|
|
/// <summary>
|
|
/// 会话解除用户绑定
|
|
/// </summary>
|
|
public static readonly int SessionUnBindUser = ++curSor;
|
|
}
|
|
} |