mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
added responses + events
This commit is contained in:
parent
26f0f0df0e
commit
ca9122b9fb
84 changed files with 815 additions and 1482 deletions
17
common/pb/proto/server_message.proto
Normal file
17
common/pb/proto/server_message.proto
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import "response.proto";
|
||||
import "session_event.proto";
|
||||
import "game_event_container.proto";
|
||||
import "room_event.proto";
|
||||
|
||||
message ServerMessage {
|
||||
enum MessageType {
|
||||
RESPONSE = 0;
|
||||
SESSION_EVENT = 1;
|
||||
GAME_EVENT_CONTAINER = 2;
|
||||
ROOM_EVENT = 3;
|
||||
}
|
||||
optional Response response = 1;
|
||||
optional SessionEvent session_event = 2;
|
||||
optional GameEventContainer game_event_container = 3;
|
||||
optional RoomEvent room_event = 4;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue