Пример #1
0
 public GameFunctionHookServiceFactory
 (
     IDllInjector dllInjector,
     IProcessFunctionsService processFunctionsService,
     IDllFunctionFinder dllFunctionFinder,
     IAddressFinderFactory addressFinderFactory,
     string hookDllPath
 )
 {
     _dllInjector             = dllInjector;
     _processFunctionsService = processFunctionsService;
     _dllFunctionFinder       = dllFunctionFinder;
     _addressFinderFactory    = addressFinderFactory;
     _hookDllPath             = hookDllPath;
 }
 public GameFunctionHookService
 (
     IDllInjector dllInjector,
     IProcessFunctionsService processFunctionsService,
     IDllFunctionFinder dllFunctionFinder,
     IAddressFinder addressFinder,
     string hookDllPath,
     Process gameProcess
 )
 {
     _dllInjector             = dllInjector;
     _processFunctionsService = processFunctionsService;
     _dllFunctionFinder       = dllFunctionFinder;
     _addressFinder           = addressFinder;
     _hookDllPath             = hookDllPath;
     _gameProcess             = gameProcess;
     InjectDll(hookDllPath, gameProcess);
 }
 public AddressFinderFactory(IProcessFunctionsService processFunctionsService)
 {
     _processFunctionsService = processFunctionsService;
 }
 public CodeInjectionReadinessChecker(IProcessFunctionsService processFunctionsService, IAddressFinderFactory addressFinderFactory)
 {
     _processFunctionsService = processFunctionsService;
     _addressFinderFactory    = addressFinderFactory;
 }
Пример #5
0
 public GameValueServiceFactory(IAddressFinderFactory addressFinderFactory, IProcessFunctionsService processFunctionsService)
 {
     _addressFinderFactory    = addressFinderFactory;
     _processFunctionsService = processFunctionsService;
 }
Пример #6
0
 public GameValueService(IAddressFinder addressFinder, IProcessFunctionsService processFunctionsService, IntPtr processHandle)
 {
     _addressFinder           = addressFinder;
     _processFunctionsService = processFunctionsService;
     _processHandle           = processHandle;
 }
Пример #7
0
 public AddressFinder(IProcessFunctionsService processFunctionsService, Process process)
 {
     _processFunctionsService = processFunctionsService;
     _processHandle           = process.Handle;
     _baseAddress             = GetBaseAddress(process);
 }