Commit 639a4112 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'new_pharse' into 'main'

add MsgNewPhase

See merge request !5
parents f4278cdb 091bc886
Pipeline #18305 passed with stage
in 15 seconds
......@@ -205,10 +205,29 @@ message StocGameMessage {
int32 player = 1; // 下一个操作的玩家编号
}
// 阶段转换
message MsgNewPhase {
enum PhaseType {
UNKNOWN = 0;
DRAW = 1; // 抽卡阶段
MAIN1 = 2; // 第一主要阶段
BATTLE_START = 3; // 战斗开始
BATTLE_STEP = 4;
DAMAGE = 5; // 伤害阶段
DAMAGE_GAL = 6; // 伤害计算阶段
BATTLE = 7;
MAIN2 = 8; // 第二主要阶段
END = 9; // 回合结束
}
PhaseType phase_type = 1;
}
oneof gameMsg {
MsgStart start = 1;
MsgDraw draw = 2;
MsgNewTurn new_turn = 3;
MsgNewPhase new_phase = 4;
}
}
......
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