namespace CCrazyStudio.Core.Common.Protocols
{
    public static class XNetEventKeys
    {
        /// <summary>
        /// 登录消息
        /// </summary>
        public const ushort LOGIN = 0x0001;

        /// <summary>
        /// 房间消息
        /// </summary>
        public const ushort ROOM_MSG = 0x0002;

        /// <summary>
        /// 发送房间消息给其他人
        /// </summary>
        public const ushort ROOM_MSG_OTHER = 0x0003;

        /// <summary>
        /// 用户下线
        /// </summary>
        public const ushort OFFLINE = 0x0004;

        /// <summary>
        /// 用户做主机
        /// </summary>
        public const ushort HOST = 0x0005;

        /// <summary>
        /// 游戏结束
        /// </summary>
        public const ushort GAME_END = 0x0006;

        /// <summary>
        /// 心跳包请求
        /// </summary>
        public const ushort HEART_BEAT = 0x0007;

        /// <summary>
        /// 心跳包响应
        /// </summary>
        public const ushort HEART_BEAT_REPLY = 0x0008;

        /// 集群加入
        /// </summary>
        public const ushort CLUSTER_JOIN = 0x2004;

        /// <summary>
        /// 集群加入响应
        /// </summary>
        public const ushort CLUSTER_JOIN_REPLY = 0x2005;

    }
}
