Пример #1
0
 public int Shutdown()
 {
     _memoryScanner?.Dispose();
     _memoryScanner = null;
     _stopwatch?.Stop();
     _stopwatch = null;
     return(0);
 }
Пример #2
0
 public int Startup(IPluginHostDelegates hostDelegates)
 {
     _hostDelegates = hostDelegates;
     _memoryScanner = new GameMemoryMGUScanner(GetProcess());
     _stopwatch     = new Stopwatch();
     _stopwatch.Start();
     return(0);
 }