Commit 43cd7f19 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'feat/hp' into 'main'

add MsgUpdateHp

See merge request !27
parents 308767ca 769260ee
Pipeline #20535 passed with stage
in 2 minutes and 49 seconds
......@@ -532,6 +532,18 @@ message StocGameMessage {
int32 effect_description = 2;
}
message MsgUpdateHp {
enum ActionType {
UNKNOWN = 0;
DAMAGE = 1;
RECOVER = 2;
}
int32 player = 1;
ActionType type_ = 2;
int32 value = 3;
}
oneof gameMsg {
MsgStart start = 1;
MsgDraw draw = 2;
......@@ -551,5 +563,6 @@ message StocGameMessage {
MsgPosChange pos_change = 16;
MsgSelectUnselectCard select_unselect_card = 17;
MsgSelectYesNo select_yes_no = 18;
MsgUpdateHp update_hp = 19;
}
}
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