/// <inheritdoc/>>
        public async Task WaitUntilCodeIsReadyToBeInjected(Process gameProcess)
        {
            IAddressFinder addressFinder = _addressFinderFactory.CreateAddressFinder(gameProcess);

            await WaitUntilSaveGameLoaded(gameProcess, addressFinder).ConfigureAwait(false);
            await WaitUntilNotInLoadingScreen(gameProcess, addressFinder).ConfigureAwait(false);
        }
 public IAddressFinder CreateAddressFinder(Process process)
 {
     return(new AddressFinderWithCache(_addressFinderFactory.CreateAddressFinder(process)));
 }
Exemple #3
0
 public IAddressFinder CreateAddressFinder(Process gameProcess)
 {
     return(_addressFinderFactory.CreateAddressFinder(gameProcess));
 }
Exemple #4
0
        public IGameValueService CreateGameValueService(Process process)
        {
            IAddressFinder addressFinder = _addressFinderFactory.CreateAddressFinder(process);

            return(new GameValueService(addressFinder, _processFunctionsService, process.Handle));
        }
Exemple #5
0
        public IGameFunctionHookService CreateGameFunctionHookService(Process gameProcess)
        {
            IAddressFinder addressFinder = _addressFinderFactory.CreateAddressFinder(gameProcess);

            return(new GameFunctionHookService(_dllInjector, _processFunctionsService, _dllFunctionFinder, addressFinder, _hookDllPath, gameProcess));
        }