Commit 078f4838 authored by chechunchi's avatar chechunchi

add SelectEffectYn

parent 779d9d9c
Pipeline #19207 passed with stage
in 18 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