Commit 9b1e1b0f authored by Chunchi Che's avatar Chunchi Che

Merge branch 'feat/shuffle_hand' into 'main'

add MsgShuffleHand

See merge request !21
parents 707b028e adb06594
Pipeline #19521 passed with stage
in 13 seconds
...@@ -460,6 +460,12 @@ message StocGameMessage { ...@@ -460,6 +460,12 @@ message StocGameMessage {
repeated Option options = 2; // 可选项集合 repeated Option options = 2; // 可选项集合
} }
// 手牌切洗
message MsgShuffleHand {
int32 player = 1; // 玩家编号
repeated int32 hands = 2; // 切洗之后的手牌编号
}
oneof gameMsg { oneof gameMsg {
MsgStart start = 1; MsgStart start = 1;
MsgDraw draw = 2; MsgDraw draw = 2;
...@@ -474,5 +480,6 @@ message StocGameMessage { ...@@ -474,5 +480,6 @@ message StocGameMessage {
MsgSelectEffectYn select_effect_yn = 11; MsgSelectEffectYn select_effect_yn = 11;
MsgSelectPosition select_position = 12; MsgSelectPosition select_position = 12;
MsgSelectOption select_option = 13; MsgSelectOption select_option = 13;
MsgShuffleHand shuffle_hand = 14;
} }
} }
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