mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-28 06:04:12 +08:00
29 lines
534 B
C++
29 lines
534 B
C++
|
|
|
|
class Atelier : public ENGINE
|
|
{
|
|
public:
|
|
Atelier()
|
|
{
|
|
|
|
check_by = CHECK_BY::FILE;
|
|
check_by_target = L"message.dat";
|
|
};
|
|
bool attach_function();
|
|
};
|
|
|
|
class Atelier2 : public ENGINE
|
|
{
|
|
public:
|
|
Atelier2()
|
|
{
|
|
|
|
check_by = CHECK_BY::CUSTOM;
|
|
check_by_target = []()
|
|
{
|
|
return (Util::CheckFile(L"*.ARC") && Util::CheckFile(L"*.ARI")) ||
|
|
(Util::CheckFile(L"ARC\\*.ARC") && Util::CheckFile(L"ARC\\*.ARI"));
|
|
};
|
|
};
|
|
bool attach_function();
|
|
}; |