mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-27 13:44:11 +08:00
20 lines
519 B
C
20 lines
519 B
C
|
|
||
|
|
||
|
class UnrealEngine : public ENGINE
|
||
|
{
|
||
|
public:
|
||
|
UnrealEngine()
|
||
|
{
|
||
|
|
||
|
check_by = CHECK_BY::CUSTOM;
|
||
|
is_engine_certain = false;
|
||
|
check_by_target = []()
|
||
|
{
|
||
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
//++UE4+Release-4.27-CL-0
|
||
|
return Util::SearchResourceString(L"Copyright Epic Games") || Util::SearchResourceString(L"UnrealEngine") || GetProcAddress(GetModuleHandleA(0), "agsCheckDriverVersion");
|
||
|
};
|
||
|
};
|
||
|
bool attach_function();
|
||
|
};
|