using UnityEngine;
using System.Collections;
/// 消息常量类
public class MsgConst
{
#region 登录退出相关
/// 连接成功的返回的消息号
public const int MSG_CTS_CONNETCT_SCUESS = 100;
/// 发送个人信息
public const int MSG_CTS_USER_DATA_SEND = 1001;
/// 登录后返回的当前所在的房间信息
public const int MSG_CTS_ROOM_DATA_BACK = 1002;
/// 拿取大厅列表信息
public const int MSG_CTS_DATING_ENTER_SEND = 1003;
/// 大厅列表信息的返回
public const int MSG_CTS_DATING_ENTER_BACK = 1004;//
/// 账号被顶掉
public const int MSG_CTS_DATING_LOGOUT_BACK = 1005;//
/// 创建房间
public const int MSG_CTS_ROOM_CREATE_SEND = 1010;//
/// 广播创建房间的消息
public const int MSG_CTS_ROOM_CREATE_BACK = 1011;//
/// 进入/出房间房间的数据的发送
public const int MSG_CTS_ROOM_ENTER_OR_OUT_SEND = 1012;
/// 房间人数数据更新的广播消息返回
public const int MSG_CTS_ROOM_REFRESH_BACK = 1013;
/// 告诉老师有学生进来了或者出去了
public const int MSG_CTS_ROOM_USER_ENTER_OR_OUT_BACK = 1014;
/// 房间删除消息的广播接受
public const int MSG_CTS_ROOM_DELETE_BACK = 1015;
/// 断线重连后获取学生列表的消息
public const int MSG_CTS_RECONNECT_GET_STUDENT_LIST_BACK = 1016;
/// 1
public const int MSG_CTS_RECONNECT_GET_RELOAD_BACK = 1017;
/// 老师同步当前的操作进度顺序
public const int MSG_CTS_SEND_CHANGE_MASTER_DATA_TO_TEACHER = 1018;
/// 老师同步当前的操作进数据的接收
public const int MSG_CTS_SEND_CHANGE_MASTER_DATA_TO_TEACHER_BACK = 1018;
/// 老师的手柄指示位置发送
public const int MSG_CTS_TEACHER_CORE_DATA_SEND = 2001;
/// 老师的手柄指示位置广播接收
public const int MSG_CTS_TEACHER_CORE_DATA_BACK = 2001;
/// 只发给老师的
public const int MSG_CTS_SEND_DATA_TO_TEACHER = 2002;
/// 老师接受到了学生发送的消息
public const int MSG_CTS_SEND_DATA_TO_BACK = 2002;
/// 老师同步当前的操作进度顺序
public const int MSG_CTS_SEND_REFRESH_DATA_TO_STUDENT = 2003;
/// 老师同步当前的操作进数据的接收
public const int MSG_CTS_REFRESH_DATA_BACK = 2003;
/// 老师射线消息的派发
public const int MSG_CTS_SEND_LINE_DATA_TO_STUDENT = 2004;
/// 老师射线消息的接收
public const int MSG_CTS_LINE_DATA_BACK = 2004;
/// 老师射线消息的派发
public const int MSG_CTS_SEND_AUDIO_DATA_TO_STUDENT = 2005;
/// 老师射线消息的接收
public const int MSG_CTS_AUDIO_DATA_BACK = 2005;
/// 房主更换的消息发送
public const int MSG_CTS_ROOM_OWNER_CHANGE_SEND = 31121;
/// 房主更换的消息广播的接受
public const int MSG_CTS_ROOM_OWNER_CHANGE_BACK = 1312015;
/// 房间删除的消息的发送
public const int MSG_CTS_ROOM_DELETE_SEND = 1321015;
/// 退出游戏
public const int MSG_CTS_DISCONNETCT = 201;//断开连接的
#endregion
#region 心跳
/// 客户端给服务器的心跳
public const int MSG_CTS_HEARTBEAT = 90001;
/// 服务器给客户端的心跳
public const int MSG_STC_HEARTBEAT = 90002;
#endregion
#region HTTP消息
/// 验证客户端版本
public const int HTTP_MSG_CHACK = 10006;
/// 获取玩家信息
public const int HTTP_MSG_LOGIN = 10001;
/// 获取玩家信息
public const int HTTP_MSG_AUTO_LOGIN = 10002;
/// 创建角色
public const int HTTP_MSG_GET_QUESTION = 10003;
public const int HTTP_MSG_VERSION = 10004;
#endregion
/// 老师的语音发送
public const int MSG_CTS_TEACHER_AUDIO_DATA_SEND = 3001;
/// 老师的语音接收
public const int MSG_CTS_TEACHER_AUDIO_DATA_BACK = 3001;
}