35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
#ifndef CONTROL_PACKET_HEAD_FILE
|
|
#define CONTROL_PACKET_HEAD_FILE
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//事件结果
|
|
#define ER_FAILURE 0 //失败标志
|
|
#define ER_SUCCESS 1 //成功标志
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
//界面数据包
|
|
|
|
#define UI_CORRESPOND_RESULT 1 //协调结果
|
|
#define UI_SERVICE_CONFIG_RESULT 2 //配置结果
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
//控制数据包
|
|
|
|
#define CT_CONNECT_CORRESPOND 100 //连接协调
|
|
#define CT_LOAD_SERVICE_CONFIG 101 //加载配置
|
|
#define CT_MAINTAIN_SERVICE 102 //服务器维护
|
|
#define CT_SEND_SYSTEM_MESSAGE 103 //发送系统消息
|
|
#define CT_UNLOCK_ALL_USER 104 //清除本服务器所有锁定玩家
|
|
#define CT_UPDATE_VERSION 105 //更新版本号
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//控制结果
|
|
struct CP_ControlResult
|
|
{
|
|
BYTE cbSuccess; //成功标志
|
|
};
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif |