Commit cdceb995 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'game_msg' into 'main'

add MsgDraw

See merge request !3
parents 867be3ce 47795227
Pipeline #18008 passed with stage
in 13 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