Commit dcf16e36 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'feat/hint' into 'main'

add MsgHint

See merge request !7
parents 2006e72d 0a09a9ee
Pipeline #18339 passed with stage
in 15 seconds
......@@ -224,11 +224,28 @@ message StocGameMessage {
PhaseType phase_type = 1;
}
// 操作提示
message MsgHint {
enum HintType {
UNKNOWN = 0;
SELECT_LOCATION = 1; // 位置选择
SELECT_EFFECT = 2; // 效果选择
SELECT_RACE = 3; // 种族选择
SELECT_ATTRIBUTE = 4; // 属性选择
SELECT_NUMBER = 5; // 数字选择
SELECT_REGION = 6; // 区域选择
}
HintType hint_type = 1; // 提示类型
int32 hint_data = 2; // 提示数据
}
oneof gameMsg {
MsgStart start = 1;
MsgDraw draw = 2;
MsgNewTurn new_turn = 3;
MsgNewPhase new_phase = 4;
MsgHint hint = 5;
}
}
......
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