![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
Public Types | |
| enum | GameEventType { JOIN = 1000 , LEAVE = 1001 , GAME_CLOSED = 1002 , GAME_HOST_CHANGED = 1003 , KICKED = 1004 , GAME_STATE_CHANGED = 1005 , PLAYER_PROPERTIES_CHANGED = 1007 , GAME_SAY = 1009 , CREATE_ARROW = 2000 , DELETE_ARROW = 2001 , CREATE_COUNTER = 2002 , SET_COUNTER = 2003 , DEL_COUNTER = 2004 , DRAW_CARDS = 2005 , REVEAL_CARDS = 2006 , SHUFFLE = 2007 , ROLL_DIE = 2008 , MOVE_CARD = 2009 , FLIP_CARD = 2010 , DESTROY_CARD = 2011 , ATTACH_CARD = 2012 , CREATE_TOKEN = 2013 , SET_CARD_ATTR = 2014 , SET_CARD_COUNTER = 2015 , SET_ACTIVE_PLAYER = 2016 , SET_ACTIVE_PHASE = 2017 , DUMP_ZONE = 2018 , CHANGE_ZONE_PROPERTIES = 2020 , REVERSE_TURN = 2021 , GAME_LOG_NOTICE = 2022 } |
Public Attributes | |
| optional sint32 | player_id = 1 [default = -1] |
| extensions to | max |
Sent every time something happens in the game to update the client's state
| extensions to GameEvent::max |
| optional sint32 GameEvent::player_id = 1 [default = -1] |