[Protocol] Add tournament state event and tournament game commands

Adds the protocol layer for the tournament game mode:
- Event_TournamentState (2027) carrying phase, round counters, player
  standings, pairings, and settings (games_per_match)
- Command_ReportMatchResult / Command_AdvanceTournament /
  Command_TournamentSettingsSelect game command extensions (1037-1039)
- is_tournament flag on Command_CreateGame and ServerInfo_Game;
  is_tournament and parent_game_id on Event_GameStateChanged


Took 13 minutes
This commit is contained in:
Lukas Brübach 2026-08-24 08:43:46 +02:00 • committed by GitHub
parent 704611fc1f
commit 052d861475
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 96 additions and 0 deletions

View file

@ -65,4 +65,7 @@ message ServerInfo_Game {
// the current host of the game, which may differ from the creator after a host transfer
optional ServerInfo_User host_info = 53;
// whether this game is a tournament game
optional bool is_tournament = 54;
}