//Team "team" scored "score" with "numplayers" players + extra info [65] protected virtual void OnTeamScoreReport(DateTime Timestamp, string[] info) { string details = string.Empty; if (info.Length > 6) { for (int i = 6; i < info.Length; i++) { details += info[i]; } } TeamScoreReportEventArgs eventArgs = new TeamScoreReportEventArgs() { Timestamp = Timestamp, Team = info[1], Score = info[3], PlayerCount = info[5], ExtraInfo = details }; TeamScoreReport.Fire(ServerEndPoint, eventArgs); }
//Team "team" scored "score" with "numplayers" players + extra info [65] protected virtual void OnTeamScoreReport(DateTime Timestamp, string[] info) { string details = string.Empty; if (info.Length > 6) { for (int i = 6; i < info.Length; i++) details += info[i]; } TeamScoreReportEventArgs eventArgs = new TeamScoreReportEventArgs() { Timestamp = Timestamp, Team = info[1], Score = info[3], PlayerCount = info[5], ExtraInfo = details }; TeamScoreReport.Fire(ServerEndPoint, eventArgs); }