Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
commands.proto
Go to the documentation of this file.
1
syntax
=
"proto2"
;
2
import
"
session_commands.proto
";
3
import
"
game_commands.proto
";
4
import
"
room_commands.proto
";
5
import
"
moderator_commands.proto
";
6
import
"
admin_commands.proto
";
7
import
"
developer_commands.proto
";
8
9
message
CommandContainer
{
10
optional uint64
cmd_id
= 1;
11
12
optional uint32
game_id
= 10;
13
optional uint32
room_id
= 20;
14
15
repeated
SessionCommand
session_command
= 100;
16
repeated
GameCommand
game_command
= 101;
17
repeated
RoomCommand
room_command
= 102;
18
repeated
ModeratorCommand
moderator_command
= 103;
19
repeated
AdminCommand
admin_command
= 104;
20
repeated
DeveloperCommand
developer_command
= 105;
21
}
admin_commands.proto
syntax
syntax
Definition
admin_commands.proto:1
developer_commands.proto
game_commands.proto
moderator_commands.proto
room_commands.proto
session_commands.proto
AdminCommand
Definition
admin_commands.proto:2
CommandContainer
Definition
commands.proto:8
CommandContainer::developer_command
repeated DeveloperCommand developer_command
Definition
commands.proto:17
CommandContainer::moderator_command
repeated ModeratorCommand moderator_command
Definition
commands.proto:15
CommandContainer::room_command
repeated RoomCommand room_command
Definition
commands.proto:14
CommandContainer::cmd_id
optional uint64 cmd_id
Definition
commands.proto:9
CommandContainer::game_id
optional uint32 game_id
Definition
commands.proto:10
CommandContainer::room_id
optional uint32 room_id
Definition
commands.proto:11
CommandContainer::session_command
repeated SessionCommand session_command
Definition
commands.proto:12
CommandContainer::admin_command
repeated AdminCommand admin_command
Definition
commands.proto:16
CommandContainer::game_command
repeated GameCommand game_command
Definition
commands.proto:13
DeveloperCommand
Definition
developer_commands.proto:2
GameCommand
Definition
game_commands.proto:4
ModeratorCommand
Definition
moderator_commands.proto:3
RoomCommand
Definition
room_commands.proto:2
SessionCommand
Definition
session_commands.proto:2
libcockatrice_protocol
libcockatrice
protocol
pb
commands.proto
Generated by
1.18.0