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:
44
ServerCore/EventDispatcher/GameMsgId.cs
Normal file
44
ServerCore/EventDispatcher/GameMsgId.cs
Normal file
@ -0,0 +1,44 @@
|
||||
namespace Server
|
||||
{
|
||||
public class GameMsgId
|
||||
{
|
||||
public static uint CorSur = 1;
|
||||
|
||||
public static readonly uint DisConnected = CorSur++;
|
||||
|
||||
/// <summary>
|
||||
/// 天改变
|
||||
/// </summary>
|
||||
public static readonly uint DayChange = CorSur ++;
|
||||
|
||||
/// <summary>
|
||||
/// 上报上线
|
||||
/// </summary>
|
||||
public static readonly uint UserReportOnline = CorSur++;
|
||||
|
||||
/// <summary>
|
||||
/// 上报离线
|
||||
/// </summary>
|
||||
public static readonly uint UserReportOffline = CorSur++;
|
||||
|
||||
/// <summary>
|
||||
/// 用户实名认证数据
|
||||
/// </summary>
|
||||
public static readonly uint UserLoginPIData = CorSur++;
|
||||
|
||||
/// <summary>
|
||||
/// 玩家的道具变化
|
||||
/// </summary>
|
||||
public static readonly uint UserPropChange = CorSur++;
|
||||
|
||||
/// <summary>
|
||||
/// 玩家货币变化
|
||||
/// </summary>
|
||||
public static readonly uint UserCurrencyChange = CorSur++;
|
||||
|
||||
/// <summary>
|
||||
/// 比赛数据
|
||||
/// </summary>
|
||||
public static readonly uint BiSaiDataInit = CorSur++;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user