下一题请求
冒险模式点击continue需要请求这个接口发题 battle模式不需要请求 服务端会主动推送这个请求对应的广播进行发题
接口描述
如果收到了 TIP
请求指令
参数名
类型
描述
必填
cmd
int
const CMD_QUIZ_PHASE = 201; //游戏协议系统主命令字,(主命令字)- 客户端使用
必填
scmd
int
const GAME_NEXT_QUESTION_REQ = 50; //请求下一题
必填
请求参数
参数名
类型
描述
必填
like
int
1 喜欢 0 不喜欢 不传这个参数就是不评价
可选
lang
string
客户端语言 当传like时必穿
可选
广播响应参数
参数名
类型
描述
必填
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为群发广播 这里一定是 2
必填
cmd
int
响应主指令 201
必填
scmd
int
const GAME_NEXT_QUESTION_RESP = 50; //响应下一题
必填
len
int
消息长度
必填