Exemple #1
0
        /// <summary>
        /// Refresh the in-game data. This is typically called when new information is needed
        /// due to a map rotation.
        /// </summary>
        private void Refresh()
        {
            lock (this)
            {
                timeLeft        = session.GetTimeLeft();
                currentMapName  = session.GetCurrentMapName();
                currentGameMode = session.GetGameMode();

                NeedsRefresh = false;
            }
        }