Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
game_event.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3// Sent every time something happens in the game to update the client's state
4message GameEvent {
6 JOIN = 1000;
7 LEAVE = 1001;
8 GAME_CLOSED = 1002;
10 KICKED = 1004;
13 GAME_SAY = 1009;
19 DRAW_CARDS = 2005;
21 SHUFFLE = 2007;
22 ROLL_DIE = 2008;
23 MOVE_CARD = 2009;
24 FLIP_CARD = 2010;
32 DUMP_ZONE = 2018;
33 // STOP_DUMP_ZONE = 2019; // obsolete
37 }
38 optional sint32 player_id = 1 [default = -1];
39 extensions 100 to max;
syntax
Definition admin_commands.proto:1
Definition game_event.proto:4
extensions to max
Definition game_event.proto:40
optional sint32 player_id
Definition game_event.proto:39
GameEventType
Definition game_event.proto:5
@ DRAW_CARDS
Definition game_event.proto:19
@ SHUFFLE
Definition game_event.proto:21
@ FLIP_CARD
Definition game_event.proto:24
@ PLAYER_PROPERTIES_CHANGED
Definition game_event.proto:12
@ ROLL_DIE
Definition game_event.proto:22
@ SET_CARD_ATTR
Definition game_event.proto:28
@ GAME_CLOSED
Definition game_event.proto:8
@ CHANGE_ZONE_PROPERTIES
Definition game_event.proto:35
@ GAME_HOST_CHANGED
Definition game_event.proto:9
@ DELETE_ARROW
Definition game_event.proto:15
@ DUMP_ZONE
Definition game_event.proto:32
@ DEL_COUNTER
Definition game_event.proto:18
@ CREATE_TOKEN
Definition game_event.proto:27
@ GAME_LOG_NOTICE
Definition game_event.proto:37
@ GAME_STATE_CHANGED
Definition game_event.proto:11
@ CREATE_COUNTER
Definition game_event.proto:16
@ ATTACH_CARD
Definition game_event.proto:26
@ SET_ACTIVE_PLAYER
Definition game_event.proto:30
@ SET_ACTIVE_PHASE
Definition game_event.proto:31
@ REVEAL_CARDS
Definition game_event.proto:20
@ JOIN
Definition game_event.proto:6
@ DESTROY_CARD
Definition game_event.proto:25
@ CREATE_ARROW
Definition game_event.proto:14
@ KICKED
Definition game_event.proto:10
@ SET_COUNTER
Definition game_event.proto:17
@ SET_CARD_COUNTER
Definition game_event.proto:29
@ LEAVE
Definition game_event.proto:7
@ GAME_SAY
Definition game_event.proto:13
@ MOVE_CARD
Definition game_event.proto:23
@ REVERSE_TURN
Definition game_event.proto:36