mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Corrected proto warnings
This commit is contained in:
parent
7453385903
commit
cfebd53d5d
145 changed files with 1063 additions and 918 deletions
|
|
@ -1,3 +1,4 @@
|
|||
syntax = "proto2";
|
||||
import "response.proto";
|
||||
import "session_event.proto";
|
||||
import "commands.proto";
|
||||
|
|
@ -5,25 +6,25 @@ import "game_event_container.proto";
|
|||
import "room_event.proto";
|
||||
|
||||
message IslMessage {
|
||||
enum MessageType {
|
||||
GAME_COMMAND_CONTAINER = 0;
|
||||
ROOM_COMMAND_CONTAINER = 1;
|
||||
|
||||
RESPONSE = 10;
|
||||
SESSION_EVENT = 11;
|
||||
GAME_EVENT_CONTAINER = 12;
|
||||
ROOM_EVENT = 13;
|
||||
}
|
||||
optional MessageType message_type = 1;
|
||||
|
||||
optional uint64 session_id = 9;
|
||||
optional sint32 player_id = 10 [default = -1];
|
||||
|
||||
optional CommandContainer game_command = 100;
|
||||
optional CommandContainer room_command = 101;
|
||||
enum MessageType {
|
||||
GAME_COMMAND_CONTAINER = 0;
|
||||
ROOM_COMMAND_CONTAINER = 1;
|
||||
|
||||
RESPONSE = 10;
|
||||
SESSION_EVENT = 11;
|
||||
GAME_EVENT_CONTAINER = 12;
|
||||
ROOM_EVENT = 13;
|
||||
}
|
||||
optional MessageType message_type = 1;
|
||||
|
||||
optional uint64 session_id = 9;
|
||||
optional sint32 player_id = 10 [default = -1];
|
||||
|
||||
optional CommandContainer game_command = 100;
|
||||
optional CommandContainer room_command = 101;
|
||||
|
||||
optional Response response = 200;
|
||||
optional SessionEvent session_event = 201;
|
||||
optional GameEventContainer game_event_container = 202;
|
||||
optional RoomEvent room_event = 203;
|
||||
optional Response response = 200;
|
||||
optional SessionEvent session_event = 201;
|
||||
optional GameEventContainer game_event_container = 202;
|
||||
optional RoomEvent room_event = 203;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue