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

Merge branch 'feat/pos_change' into 'main'

add MsgPosChange

See merge request !23
parents a6ff7915 9bac2dac
Pipeline #19644 passed with stage
in 1 minute and 38 seconds
...@@ -495,6 +495,13 @@ message StocGameMessage { ...@@ -495,6 +495,13 @@ message StocGameMessage {
bool enable_ep = 4; // 是否可以结束回合 bool enable_ep = 4; // 是否可以结束回合
} }
// 表示形式变更
message MsgPosChange {
CardInfo card_info = 1;
CardPosition pre_position = 2; // 之前的表示形式
CardPosition cur_position = 3; // 当前的表示形式
}
oneof gameMsg { oneof gameMsg {
MsgStart start = 1; MsgStart start = 1;
MsgDraw draw = 2; MsgDraw draw = 2;
...@@ -511,5 +518,6 @@ message StocGameMessage { ...@@ -511,5 +518,6 @@ message StocGameMessage {
MsgSelectOption select_option = 13; MsgSelectOption select_option = 13;
MsgShuffleHand shuffle_hand = 14; MsgShuffleHand shuffle_hand = 14;
MsgSelectBattleCmd select_battle_cmd = 15; MsgSelectBattleCmd select_battle_cmd = 15;
MsgPosChange pos_change = 16;
} }
} }
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