using UnityEngine; using System.Collections; /// /// 客户端处理HTTP数据返回值的命令类型值 /// public enum HTTPClientCommand { CMD_GET_QRCODE = 1, CMD_GET_WAITING_PLAYERS, CMD_POLLING_WAITING_PLAYERS, CMD_START_GAME, CMD_COMMIT_GAME, CMD_CHECK_NETSTATU, CMD_GET_RANK } public class HttpConstConfig { #region HTTP通信返回值的数据结构字段名 public static string WEB_HTTP_SECRET_KEY = "baofengyingxiong-web"; public static string KEY_COMMAND = "command"; public static string KEY_SERVERTIME = "servertime"; public static string KEY_EXTTIME = "exttime"; public static string KEY_RESULT = "data"; public static string KEY_SIG = "sig"; public static string KEY_RESPONSE_STATU = "rc"; public static string KEY_RESPONSE_MSG = "msg"; #endregion }