[Protocol] Share tournament messages and report draws explicitly

- TournamentPlayer/TournamentPairing/TournamentSettings move into
  serverinfo_tournament.proto, imported by both the tournament event and
  the tournament game commands, so Command_CreateGame reaches them without
  crossing the command/event boundary
- Command_CreateGame carries the full TournamentSettings instead of a
  duplicate games_per_match field, keeping game creation and mid-game
  changes on one wire representation
- draw results are explicit: Command_ReportMatchResult and
  TournamentPairing gain is_draw, so a report stays distinguishable from
  an unset -1 winner
- pairing match-wins are uint32 like the other game counts
This commit is contained in:
Lukas Brübach 2026-09-02 08:43:25 +02:00
parent af42dda50f
commit 2eab01f6fe
5 changed files with 45 additions and 27 deletions

View file

@ -207,6 +207,7 @@ set(PROTO_FILES
serverinfo_report.proto
serverinfo_room.proto
serverinfo_room_channel.proto
serverinfo_tournament.proto
serverinfo_user.proto
serverinfo_user_alt.proto
serverinfo_user_session.proto