Commit 6434c30b authored by Chunchi Che's avatar Chunchi Che

Merge branch 'feat/win' into 'main'

add MsgWin

See merge request !28
parents 43cd7f19 d42a1356
Pipeline #20558 passed with stage
in 17 seconds
......@@ -544,6 +544,18 @@ message StocGameMessage {
int32 value = 3;
}
message MsgWin {
enum ActionType {
UNKNOWN = 0;
Win = 1; // 胜利
Defeated = 2; // 失败
}
int32 player = 1; // 玩家编号
ActionType type_ = 2;
// TODO: 原因
}
oneof gameMsg {
MsgStart start = 1;
MsgDraw draw = 2;
......@@ -564,5 +576,6 @@ message StocGameMessage {
MsgSelectUnselectCard select_unselect_card = 17;
MsgSelectYesNo select_yes_no = 18;
MsgUpdateHp update_hp = 19;
MsgWin win = 20;
}
}
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