Sort pb cmake and add comments to proto files (#6163)

* sort cmake

* copy over comments

* clean up comments
This commit is contained in:
RickyRister 2025-09-21 16:57:42 -07:00 committed by GitHub
parent f0c3860032
commit 3501ee9a9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 219 additions and 13 deletions

View file

@ -22,23 +22,52 @@ message Command_RoomSay {
optional string message = 1;
}
// Create a new game in the room
message Command_CreateGame {
extend RoomCommand {
optional Command_CreateGame ext = 1002;
}
// game description shown in game list
optional string description = 1;
// password users will have to provide to join the game
optional string password = 2;
// amount of players needed to play
optional uint32 max_players = 3;
// limits the game to only allowing users on the creator's buddy list to join
optional bool only_buddies = 4;
// limits the game to only allowing registered users
optional bool only_registered = 5;
// allows non players to view the game as spectator
optional bool spectators_allowed = 6;
// allows spectators to join without password if false
optional bool spectators_need_password = 7;
// allows spectators to use game say commands
optional bool spectators_can_talk = 8;
// allows spectators to see hands and hidden information
optional bool spectators_see_everything = 9;
// selection of game types as presented in the server's room configuration
repeated uint32 game_type_ids = 10;
// the creator of the game will join it as a judge
optional bool join_as_judge = 11;
// the creator of the game will join it as a spectator
optional bool join_as_spectator = 12;
// set the starting life total
optional uint32 starting_life_total = 13;
// share decklists with all players when selected
optional bool share_decklists_on_load = 14;
}