Commit 476836fd authored by Chunchi Che's avatar Chunchi Che

Merge branch 'feat/select_chain' into 'main'

add MsgSelectChain

See merge request !16
parents 07651117 72b534ac
Pipeline #19160 passed with stage
in 17 seconds
...@@ -392,6 +392,23 @@ message StocGameMessage { ...@@ -392,6 +392,23 @@ message StocGameMessage {
repeated SelectAbleCard cards = 5; // 可以选择的卡牌 repeated SelectAbleCard cards = 5; // 可以选择的卡牌
} }
// 连锁提示
message MsgSelectChain {
message Chain {
int32 code = 1;
CardLocation location = 2;
int32 effect_description = 3;
int32 response = 4;
}
int32 player = 1; // 玩家编号
bool special = 2; // 是否存在关键卡
bool forced = 3; // 是否强制
int32 hint0 = 4; // TODO
int32 hint1 = 5; // TODO
repeated Chain chains = 6; // 可选的连锁项
}
oneof gameMsg { oneof gameMsg {
MsgStart start = 1; MsgStart start = 1;
MsgDraw draw = 2; MsgDraw draw = 2;
...@@ -402,6 +419,7 @@ message StocGameMessage { ...@@ -402,6 +419,7 @@ message StocGameMessage {
MsgSelectPlace select_place = 7; MsgSelectPlace select_place = 7;
MsgMove move = 8; MsgMove move = 8;
MsgSelectCard select_card = 9; MsgSelectCard select_card = 9;
MsgSelectChain select_chain = 10;
} }
} }
......
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