mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-27 07:44:02 +08:00
19 lines
458 B
C++
19 lines
458 B
C++
|
|
|
|
class RPGMaker : public ENGINE
|
|
{
|
|
public:
|
|
RPGMaker()
|
|
{
|
|
|
|
check_by = CHECK_BY::CUSTOM;
|
|
check_by_target = []()
|
|
{
|
|
auto s = check_by_list{L"data/game.dat", L"data/psl.dat", L"data/scenario.dat", L"data/system.dat"};
|
|
return (wcscmp(processName_lower, L"game.dat") == 0) && std::all_of(s.begin(), s.end(), Util::CheckFile);
|
|
};
|
|
is_engine_certain = false;
|
|
};
|
|
bool attach_function();
|
|
};
|