mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
added responses + events
This commit is contained in:
parent
26f0f0df0e
commit
ca9122b9fb
84 changed files with 815 additions and 1482 deletions
15
common/pb/proto/session_event.proto
Normal file
15
common/pb/proto/session_event.proto
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
message SessionEvent {
|
||||
enum SessionEventType {
|
||||
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;
|
||||
}
|
||||
extensions 100 to max;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue