/// <summary>
        /// Starts watching for changes in the graphics configuration files.
        /// </summary>
        public void Start()
        {
            _mainWatcher.Stop();
            _overrideWatcher.Stop();

            Reload();

            _mainWatcher.Start();
            _overrideWatcher.Start();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Stops watching for changes in the game status file.
        /// </summary>
        public void Stop()
        {
            if (!_running)
            {
                return;
            }

            _watcher.Stop();
            _running = false;
        }
Exemplo n.º 3
0
        /// <summary>
        /// Stops watching for changes in the binding preset files.
        /// </summary>
        public void Stop()
        {
            if (!_running)
            {
                return;
            }

            _startPresetWatcher.Stop();
            _customBindsWatcher.Stop();
            _running = false;
        }
        /// <summary>
        /// Stops watching for changes in the graphics configuration files.
        /// </summary>
        public void Stop()
        {
            if (!_running)
            {
                return;
            }

            _mainWatcher.Stop();
            _overrideWatcher.Stop();
            _running = false;
        }
Exemplo n.º 5
0
        /// <summary>
        /// Stops watching for changes in the player journal.
        /// </summary>
        public void Stop()
        {
            if (!_watching)
            {
                return;
            }

            _watching = false;

            _journalFilesWatcher.Stop();
            _journalReadTimer.Stop();

            CloseJournal();
        }
Exemplo n.º 6
0
 /// <summary>
 /// Starts watching for changes in the game status file.
 /// </summary>
 public void Start()
 {
     _watcher.Stop();
     Reload();
     _watcher.Start();
 }
Exemplo n.º 7
0
 /// <summary>
 /// Stops watching for changes in the binding preset files.
 /// </summary>
 public void Stop()
 {
     _startPresetWatcher.Stop();
     _customBindsWatcher.Stop();
 }