예제 #1
0
 protected void HandleRoundAnnounceMatchStarted(object sender, RoundAnnounceMatchStartedEventArgs e)
 {
     if (!IsMatchStarted)
     {
         StartMatch();
     }
 }
예제 #2
0
        // 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();
        }
예제 #3
0
 private void CurrentDemoParser_RoundAnnounceMatchStarted(object sender, RoundAnnounceMatchStartedEventArgs e)
 {
     SteamController.LogToConsole("Match start announced");
 }
예제 #4
0
        private void HandleRoundAnnounceMatchStarted(object sender, RoundAnnounceMatchStartedEventArgs e)
        {
            BaseEvent newEvent = new BaseEvent(EventType.RoundAnnounceMatchStarted);

            CurrentTick.Events.Add(newEvent);
        }