断线重连请求
断线后想要恢复游戏 需要请求这个指令 该指令与发题指令的返回参数一致 但是只通过 TIP 单发给断线的玩家
请求指令
参数名
类型
描述
必填
cmd
int
const CMD_QUIZ_PHASE = 201; //游戏协议系统主命令字,(主命令字)- 客户端使用
必填
scmd
int
const GAME_START_REQ = 51; //游戏开始请求,客户端使用
必填
TIP响应参数
参数名
类型
描述
必填
code
int
200 为成功
必填
msg
string
对code的可读描述
必填
deadline
int
本题最晚答题时间点 毫秒
必填
single_time
int
本题时间限制 毫秒
必填
left_time
int
剩余时间 毫秒
必填
current_round
int
当前第几轮
必填
current_qid_index
int
当前在第 {current_round} 轮的第几题
必填
total_round
int
总轮数
必填
props
array
剩余赛前道具数量
必填
has_answered
bool
该玩家是否已经回答了这个问题
必填
game_mode
int
本局游戏模式
必填
level_id
int
本局levelID
必填
topic_id
int
本题的topic_id
必填
type
int
1 为单发TIP 2为群发广播 这里一定是 1
必填
cmd
int
响应主指令 201
必填
scmd
int
const GAME_NEXT_QUESTION_RESP = 50; //响应下一题
必填
len
int
消息长度
必填