Commit 47795227 authored by Chunchi Che's avatar Chunchi Che

add MsgDraw

parent 867be3ce
Pipeline #18007 passed with stage
in 1 minute and 21 seconds
...@@ -193,7 +193,17 @@ message StocGameMessage { ...@@ -193,7 +193,17 @@ message StocGameMessage {
int32 extraSize2 = 7; // 玩家二的额外卡组数量 int32 extraSize2 = 7; // 玩家二的额外卡组数量
} }
oneof gameMsg { MsgStart start = 1; } // 玩家抽卡
message MsgDraw {
int32 player = 1; // 玩家编号
int32 count = 2; // 抽卡数量
repeated int32 cards = 3; // 抽卡结果
}
oneof gameMsg {
MsgStart start = 1;
MsgDraw draw = 2;
}
} }
// ----- common structs ------ // ----- common structs ------
......
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