mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-03 14:26:15 +00:00
Added IPC and lua definitions
This commit is contained in:
@@ -40,7 +40,7 @@ uint32_t Memory::GetPID() {
|
||||
return GetCurrentProcessId();
|
||||
}
|
||||
|
||||
uint64_t Memory::FindByPattern(const char* module, const char* Pattern, const char* Mask) {
|
||||
uint64_t Memory::FindPattern(const char* module, const char* Pattern, const char* Mask) {
|
||||
MODULEINFO mInfo{nullptr};
|
||||
GetModuleInformation(GetCurrentProcess(), GetModuleHandleA(module), &mInfo, sizeof(MODULEINFO));
|
||||
auto base = uint64_t(mInfo.lpBaseOfDll);
|
||||
@@ -129,3 +129,7 @@ uint32_t Memory::EntryPoint() {
|
||||
BeamNG::EntryPoint();
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32_t Memory::GetTickCount() {
|
||||
return ::GetTickCount();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user