protected void HandleRoundAnnounceMatchStarted(object sender, RoundAnnounceMatchStartedEventArgs e) { if (!IsMatchStarted) { StartMatch(); } }
// we clear the kill counts etc. additionally here because MatchStarted is only thrown once somehow // and doesn't correctly handle the case that the game is restarted (e.g. on our server) private void HandleRoundAnnounceMatchStarted(object sender, RoundAnnounceMatchStartedEventArgs e) { myKillsThisRound.Clear(); ClearPlayerStatistics(); AddPlayerIds(); myNumberOfRounds = 0; myHasMatchStarted = true; ProcessNewPlayers(); CheckInitialSideAssignments(); }
private void CurrentDemoParser_RoundAnnounceMatchStarted(object sender, RoundAnnounceMatchStartedEventArgs e) { SteamController.LogToConsole("Match start announced"); }
private void HandleRoundAnnounceMatchStarted(object sender, RoundAnnounceMatchStartedEventArgs e) { BaseEvent newEvent = new BaseEvent(EventType.RoundAnnounceMatchStarted); CurrentTick.Events.Add(newEvent); }