mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212)
--------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> Co-authored-by: ebbit1q <ebbit1q@gmail.com>
This commit is contained in:
parent
be1403c920
commit
1ef07309d6
605 changed files with 3812 additions and 3408 deletions
|
|
@ -1,39 +0,0 @@
|
|||
syntax = "proto2";
|
||||
|
||||
// Sent every time something happens in the game to update the client's state
|
||||
message GameEvent {
|
||||
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;
|
||||
// STOP_DUMP_ZONE = 2019; // obsolete
|
||||
CHANGE_ZONE_PROPERTIES = 2020;
|
||||
REVERSE_TURN = 2021;
|
||||
}
|
||||
optional sint32 player_id = 1 [default = -1];
|
||||
extensions 100 to max;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue