public bool SubmitGameReport() { CommandMessage command = new CommandMessage { CommandName = Commands.ReportSupcomGame }; command.SetParams(new object[] { this.mReport }); ClientManager.GetManager().MessageServer(command); this.mReport = null; return true; }
public bool CreateGameReport(int gameID, string newmap, double duration, string gametype) { this.mReport = new GameReporting(); this.mReport.GameID = gameID; this.mReport.Map = newmap; this.mReport.Duration = duration; this.mReport.GameType = gametype; this.mReport.GPGnetGameID = GPGnetSelectedGame.SelectedGame.GameID; return true; }