Commit fb8c6c44 authored by Chunchi Che's avatar Chunchi Che

add CtosTimeConfirm and StocTimeLimit

parent e79dc1f2
Pipeline #18618 passed with stage
in 17 seconds
......@@ -15,6 +15,7 @@ message YgoCtosMsg {
CtosHsNotReady ctos_hs_not_ready = 6;
CtosHandResult ctos_hand_result = 7;
CtosTpResult ctos_tp_result = 8;
CtosTimeConfirm ctos_time_confirm = 9;
}
}
......@@ -32,6 +33,7 @@ message YgoStocMsg {
StocDeckCount stoc_deck_count = 10;
StocDuelStart stoc_duel_start = 11;
StocGameMessage stoc_game_msg = 12;
StocTimeLimit stoc_time_limit = 13;
}
}
......@@ -79,6 +81,9 @@ message CtosTpResult {
TpType tp = 1;
}
// 确认计时
message CtosTimeConfirm {}
// ----- STOC -----
// 服务端告诉前端/客户端已成功加入房间,
......@@ -172,6 +177,12 @@ message StocDeckCount {
// 决斗开始!
message StocDuelStart {}
// 时间限制
message StocTimeLimit {
int32 player = 1;
int32 left_time = 2; // 剩下的时间
}
// 决斗对局内协议
message StocGameMessage {
// 一些对局内共用的结构
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment