mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 23:12:14 -07:00
Turn Card, Deck_List, Protocol, RNG, Server, Settings and Utility into libraries and remove cockatrice_common.
Took 6 hours 3 minutes Took 31 seconds
This commit is contained in:
parent
3cff55b0bb
commit
1e4e5a4419
593 changed files with 1913 additions and 1601 deletions
|
|
@ -0,0 +1,20 @@
|
|||
syntax = "proto2";
|
||||
message SessionEvent {
|
||||
enum SessionEventType {
|
||||
SERVER_IDENTIFICATION = 500;
|
||||
SERVER_COMPLETE_LIST = 600;
|
||||
SERVER_MESSAGE = 1000;
|
||||
SERVER_SHUTDOWN = 1001;
|
||||
CONNECTION_CLOSED = 1002;
|
||||
USER_MESSAGE = 1003;
|
||||
LIST_ROOMS = 1004;
|
||||
ADD_TO_LIST = 1005;
|
||||
REMOVE_FROM_LIST = 1006;
|
||||
USER_JOINED = 1007;
|
||||
USER_LEFT = 1008;
|
||||
GAME_JOINED = 1009;
|
||||
NOTIFY_USER = 1010;
|
||||
REPLAY_ADDED = 1100;
|
||||
}
|
||||
extensions 100 to max;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue