mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
[Server][Game] Make undo draw failure visible in chat
This commit is contained in:
parent
5219cffa6b
commit
b4da05e75f
8 changed files with 35 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ set(PROTO_FILES
|
|||
event_set_card_counter.proto
|
||||
event_set_counter.proto
|
||||
event_shuffle.proto
|
||||
event_undo_draw_failed.proto
|
||||
event_user_joined.proto
|
||||
event_user_left.proto
|
||||
event_user_message.proto
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
syntax = "proto2";
|
||||
import "game_event.proto";
|
||||
|
||||
message Event_UndoDrawFailed {
|
||||
extend GameEvent {
|
||||
optional Event_UndoDrawFailed ext = 2022;
|
||||
}
|
||||
optional sint32 phase = 1;
|
||||
}
|
||||
|
|
@ -33,6 +33,7 @@ message GameEvent {
|
|||
// STOP_DUMP_ZONE = 2019; // obsolete
|
||||
CHANGE_ZONE_PROPERTIES = 2020;
|
||||
REVERSE_TURN = 2021;
|
||||
UNDO_DRAW_FAILED = 2022;
|
||||
}
|
||||
optional sint32 player_id = 1 [default = -1];
|
||||
extensions 100 to max;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue