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

            Reload();

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

            _watcher.Stop();
            _running = false;
        }
示例#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;
        }
示例#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();
        }
示例#6
0
 /// <summary>
 /// Starts watching for changes in the game status file.
 /// </summary>
 public void Start()
 {
     _watcher.Stop();
     Reload();
     _watcher.Start();
 }
示例#7
0
 /// <summary>
 /// Stops watching for changes in the binding preset files.
 /// </summary>
 public void Stop()
 {
     _startPresetWatcher.Stop();
     _customBindsWatcher.Stop();
 }