예제 #1
0
 public void Init()
 {
     processId         = GetProcessId();
     gameMemoryScanner = new GameMemoryRE7Scanner(processId, logger);
     stopwatch         = new Stopwatch();
     stopwatch.Start();
 }
예제 #2
0
 public void Dispose()
 {
     stopwatch?.Stop();
     stopwatch = null;
     gameMemoryScanner?.Dispose();
     gameMemoryScanner = null;
 }
 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 GameMemoryRE7Scanner(processId);
     stopwatch          = new Stopwatch();
     stopwatch.Start();
     return(0);
 }
예제 #5
0
 public int Startup(IPluginHostDelegates hostDelegates)
 {
     this.hostDelegates = hostDelegates;
     processId          = Process.GetProcessesByName("re7")?.FirstOrDefault()?.Id;
     gameMemoryScanner  = new GameMemoryRE7Scanner(processId);
     stopwatch          = new Stopwatch();
     stopwatch.Start();
     return(0);
 }