syntax = "proto2"; import "game_commands.proto"; import "serverinfo_tournament.proto"; message Command_ReportMatchResult { extend GameCommand { optional Command_ReportMatchResult ext = 1037; } optional sint32 game_id = 1 [default = -1]; // The winning player's ID. A drawn match is reported with is_draw set and // winner_id left unset so a missing report stays distinguishable from a // reported draw via has_winner_id(). optional sint32 winner_id = 2 [default = -1]; // Whether the match ended in a draw; winner_id is meaningless then. optional bool is_draw = 3; } message Command_AdvanceTournament { extend GameCommand { optional Command_AdvanceTournament ext = 1038; } } message Command_TournamentSettingsSelect { extend GameCommand { optional Command_TournamentSettingsSelect ext = 1039; } optional TournamentSettings settings = 1; }