-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
221 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
#pragma once | ||
|
||
using namespace std::chrono_literals; | ||
|
||
class injector: public singleton<injector> | ||
class injector | ||
{ | ||
private: | ||
bool map( std::string process, std::wstring module_name, std::vector<std::uint8_t> binary_bytes ); | ||
void close_processes( std::vector<std::string> processes ); | ||
|
||
public: | ||
std::string cheat_filename = "cheat.dll"; | ||
|
||
injector() = default; | ||
~injector() = default; | ||
|
||
bool call(); | ||
}; | ||
bool call( std::string process_name ); | ||
}; | ||
|
||
inline auto g_injector = injector(); |
Oops, something went wrong.