Commit d1901b32 authored by Chunchi Che's avatar Chunchi Che

add CtosHandResult

parent 6ab136c4
...@@ -15,6 +15,7 @@ message YgoCtosMsg { ...@@ -15,6 +15,7 @@ message YgoCtosMsg {
CtosHsReady ctos_hs_ready = 4; CtosHsReady ctos_hs_ready = 4;
CtosHsStart ctos_hs_start = 5; CtosHsStart ctos_hs_start = 5;
CtosHsNotReady ctos_hs_not_ready = 6; CtosHsNotReady ctos_hs_not_ready = 6;
CtosHandResult ctos_hand_result = 7;
} }
} }
...@@ -59,6 +60,18 @@ message CtosHsNotReady { ...@@ -59,6 +60,18 @@ message CtosHsNotReady {
message CtosHsStart { message CtosHsStart {
// empty message // empty message
} }
message CtosHandResult {
enum HandType {
UNKNOWN = 0;
SCISSORS = 1;
ROCK = 2;
PAPER = 3;
}
HandType hand = 1;
}
// ----- STOC ----- // ----- STOC -----
message StocJoinGame { message StocJoinGame {
......
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