public int Shutdown()
 {
     gameMemoryScanner?.Dispose();
     gameMemoryScanner = null;
     stopwatch?.Stop();
     stopwatch = null;
     return(0);
 }
 public int Startup(IPluginHostDelegates hostDelegates)
 {
     this.hostDelegates = hostDelegates;
     processId          = GetProcessId();
     gameMemoryScanner  = new GameMemoryOri1Scanner(processId);
     stopwatch          = new Stopwatch();
     stopwatch.Start();
     return(0);
 }