15 lines
413 B
C#
15 lines
413 B
C#
/// <summary>
|
|
/// 网络事件协议ID枚举
|
|
/// </summary>
|
|
public enum SocketEvent
|
|
{
|
|
ClientHead = 0x0001, //心跳包
|
|
ServerHead = 0x0006, //服务端心跳包
|
|
ClientDisconn = 0x0002, //客户端主动断开
|
|
ServerKickout = 0x0003, //服务端踢出
|
|
|
|
ServerMessage = 0x0004, //服务端发送消息
|
|
ClientMessage = 0x0005, //客户端发送消息
|
|
|
|
ScTest = 0x1001 //测试用
|
|
} |