feat: initial commit - HJHA game server full source
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
This commit is contained in:
29
GameNetModule/EventDispatcher/GameNetMsgId.cs
Normal file
29
GameNetModule/EventDispatcher/GameNetMsgId.cs
Normal file
@ -0,0 +1,29 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user