Cockatrice/libs/protocol/pb/commands.proto
Lukas Brübach 1d1de904e0 Add a wrapper.
Took 35 minutes
2025-10-04 23:49:11 +02:00

19 lines
553 B
Protocol Buffer

syntax = "proto2";
import "session_commands.proto";
import "game_commands.proto";
import "room_commands.proto";
import "moderator_commands.proto";
import "admin_commands.proto";
message CommandContainer {
optional uint64 cmd_id = 1;
optional uint32 game_id = 10;
optional uint32 room_id = 20;
repeated SessionCommand session_command = 100;
repeated GameCommand game_command = 101;
repeated RoomCommand room_command = 102;
repeated ModeratorCommand moderator_command = 103;
repeated AdminCommand admin_command = 104;
}