Cockatrice/common/pb/serverinfo_game.proto
BruebachL 09381575a7
Add option to share decklists on load. (#6029)
* Add option to share decklists on load.

Took 1 hour 58 minutes

Took 9 minutes


Took 39 minutes

* Lint.

Took 14 minutes


Took 2 minutes

* Stuffs

Took 39 minutes

Took 4 seconds

Took 43 minutes

* Process local player first.

Took 45 minutes

* Consider if the setting is set on the game info first.

Took 4 minutes

* Save an indent level.

Took 43 seconds

* Don't commit logging config.

Took 3 minutes

* Remove a debug print.

Took 10 seconds


Took 7 seconds

* Add another optional guard.

Took 5 minutes

* Hide the tab bar if only one (own deck) is visible.

Took 9 minutes

* Rename setting label for clarity

Took 2 minutes

* Capitalization.

Took 3 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-08-15 17:31:05 -04:00

25 lines
908 B
Protocol Buffer

syntax = "proto2";
import "serverinfo_user.proto";
message ServerInfo_Game {
optional sint32 server_id = 1 [default = -1];
optional sint32 room_id = 2 [default = -1];
optional sint32 game_id = 3 [default = -1];
optional string description = 4;
optional bool with_password = 5;
optional uint32 max_players = 6;
repeated sint32 game_types = 7;
optional ServerInfo_User creator_info = 8;
optional bool only_buddies = 9;
optional bool only_registered = 10;
optional bool spectators_allowed = 11;
optional bool spectators_need_password = 12;
optional bool spectators_can_chat = 13;
optional bool spectators_omniscient = 14;
optional bool share_decklists_on_load = 15;
optional uint32 player_count = 30;
optional uint32 spectators_count = 31;
optional bool started = 50;
optional uint32 start_time = 51;
optional bool closed = 52;
}