Commit d8991a3d authored by Chunchi Che's avatar Chunchi Che

Merge branch 'feat/select_effect_yn' into 'main'

add SelectEffectYn

See merge request !18
parents 779d9d9c 078f4838
Pipeline #19208 passed with stage
in 2 minutes and 21 seconds
......@@ -141,12 +141,14 @@ message CtosGameMsgResponse {
}
message SelectCardResponse { repeated int32 selected_ptrs = 1; }
message SelectChainResponse { int32 selected_ptr = 1; }
message SelectEffectYnResponse { bool selected = 1; }
oneof gameMsgResponse {
SelectIdleCmdResponse select_idle_cmd = 1;
SelectPlaceResponse select_place = 2;
SelectCardResponse select_card = 3;
SelectChainResponse select_chain = 4;
SelectEffectYnResponse select_effect_yn = 5;
}
}
......@@ -418,6 +420,14 @@ message StocGameMessage {
repeated Chain chains = 6; // 可选的连锁项
}
// 是否发动效果
message MsgSelectEffectYn {
int32 player = 1; // 玩家编号
int32 code = 2; // 卡编号
CardLocation location = 3; // 卡位置
int32 effect_description = 4; // 卡效果
}
oneof gameMsg {
MsgStart start = 1;
MsgDraw draw = 2;
......@@ -429,6 +439,7 @@ message StocGameMessage {
MsgMove move = 8;
MsgSelectCard select_card = 9;
MsgSelectChain select_chain = 10;
MsgSelectEffectYn select_effect_yn = 11;
}
}
......
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