LunaHook-mirror/LunaHook/engine64/LightVN.h

20 lines
563 B
C
Raw Normal View History

2024-05-06 23:30:27 +08:00
2024-02-07 20:59:24 +08:00
2024-10-03 14:53:59 +08:00
class LightVN : public ENGINE
{
public:
LightVN()
{
2024-10-07 17:02:07 +08:00
check_by = CHECK_BY::CUSTOM;
2024-10-03 14:53:59 +08:00
is_engine_certain = false;
2024-10-07 17:02:07 +08:00
check_by_target = []()
{
auto s = check_by_list{L"Data/Scripts/title.txt", L"Data/data*.vndat", L"Scripts/000_title.txt"};
auto s2 = check_by_list{L"LightTests.exe", L"BugTrap.dll", L"libGLESv2.dll", L"libEGL.dll"};
return std::any_of(s.begin(), s.end(), Util::CheckFile) || std::all_of(s2.begin(), s2.end(), Util::CheckFile);
};
2024-10-03 14:53:59 +08:00
};
bool attach_function();
2024-02-07 20:59:24 +08:00
};