Commit 1c4b9789 authored by Chunchi Che's avatar Chunchi Che

add MsgToss

parent e6e23561
Pipeline #22271 passed with stage
in 14 seconds
......@@ -764,6 +764,19 @@ message StocGameMessage {
repeated CardLocation locations = 1; // 被选择卡的位置
}
// 骰子/硬币
message MsgToss {
enum TossType {
UNKNOWN = 0;
COIN = 1; // 硬币正反
DICE = 2; // 骰子
}
int32 player = 1; // 玩家编号
TossType toss_type = 2; // 类型
repeated int32 res = 3; // 结果
}
// 断线重连
message MsgReloadField {
message ZoneAction {
......@@ -838,5 +851,6 @@ message StocGameMessage {
MsgLpUpdate lp_update = 44;
MsgConfirmCards confirm_cards = 45;
MsgBecomeTarget become_target = 46;
MsgToss toss = 47;
}
}
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