Ejemplo n.º 1
0
 /// <summary>
 /// </summary>
 public static void StopMemoryWorkers()
 {
     if (_chatLogWorker != null)
     {
         _chatLogWorker.StopScanning();
         _chatLogWorker.Dispose();
     }
     if (_actorWorker != null)
     {
         _actorWorker.StopScanning();
         _actorWorker.Dispose();
     }
     if (_playerInfoWorker != null)
     {
         _playerInfoWorker.StopScanning();
         _playerInfoWorker.Dispose();
     }
     if (_targetWorker != null)
     {
         _targetWorker.StopScanning();
         _targetWorker.Dispose();
     }
     if (_partyInfoWorker != null)
     {
         _partyInfoWorker.StopScanning();
         _partyInfoWorker.Dispose();
     }
     if (_inventoryWorker != null)
     {
         _inventoryWorker.StopScanning();
         _inventoryWorker.Dispose();
     }
     MemoryHandler.Instance.SigScanner.Locations.Clear();
 }
Ejemplo n.º 2
0
        /// <summary>
        /// </summary>
        public static void StopMemoryWorkers()
        {
            MemoryHandler.Instance.ExceptionEvent       -= MemoryHandler_ExceptionEvent;
            MemoryHandler.Instance.SignaturesFoundEvent -= MemoryHandler_SignaturesFoundEvent;

            if (_chatLogWorker != null)
            {
                _chatLogWorker.StopScanning();
                _chatLogWorker.Dispose();
            }

            if (_actorWorker != null)
            {
                _actorWorker.StopScanning();
                _actorWorker.Dispose();
            }

            if (_playerInfoWorker != null)
            {
                _playerInfoWorker.StopScanning();
                _playerInfoWorker.Dispose();
            }

            if (_targetWorker != null)
            {
                _targetWorker.StopScanning();
                _targetWorker.Dispose();
            }

            if (_partyInfoWorker != null)
            {
                _partyInfoWorker.StopScanning();
                _partyInfoWorker.Dispose();
            }

            if (_inventoryWorker != null)
            {
                _inventoryWorker.StopScanning();
                _inventoryWorker.Dispose();
            }

            if (_hotBarRecastWorker != null)
            {
                _hotBarRecastWorker.StopScanning();
                _hotBarRecastWorker.Dispose();
            }
        }
Ejemplo n.º 3
0
 /// <summary>
 /// </summary>
 public static void StopMemoryWorkers()
 {
     if (_chatLogWorker != null)
     {
         _chatLogWorker.StopScanning();
         _chatLogWorker.Dispose();
     }
     if (_actionWorker != null)
     {
         _actionWorker.StopScanning();
         _actionWorker.Dispose();
     }
     if (_actorWorker != null)
     {
         _actorWorker.StopScanning();
         _actorWorker.Dispose();
     }
     if (_monsterWorker != null)
     {
         _monsterWorker.StopScanning();
         _monsterWorker.Dispose();
     }
     if (_playerInfoWorker != null)
     {
         _playerInfoWorker.StopScanning();
         _playerInfoWorker.Dispose();
     }
     if (_targetWorker != null)
     {
         _targetWorker.StopScanning();
         _targetWorker.Dispose();
     }
     if (_partyInfoWorker != null)
     {
         _partyInfoWorker.StopScanning();
         _partyInfoWorker.Dispose();
     }
     if (_inventoryWorker != null)
     {
         _inventoryWorker.StopScanning();
         _inventoryWorker.Dispose();
     }
 }