LunaHook-mirror/LunaHook/engine32/Fizz.h

27 lines
600 B
C
Raw Normal View History

2024-06-01 15:56:08 +08:00
2024-08-13 15:40:26 +08:00
class Fizz : public ENGINE
{
public:
Fizz()
{
check_by = CHECK_BY::CUSTOM;
check_by_target = [&]()
{
auto _ = Util::CheckFile(L"data.gsp") && Util::CheckFile(L"Image*.gsp") && Util::CheckFile(L"bgm*.gsp") && Util::CheckFile(L"se.gsp");
2024-08-30 01:44:20 +08:00
if (!_)
return false;
2024-08-13 15:40:26 +08:00
if (Util::CheckFile(L"voice/*.gsp"))
{
typex = 1;
}
2024-08-30 01:44:20 +08:00
else
2024-08-13 15:40:26 +08:00
{
typex = 2;
}
2024-08-30 01:44:20 +08:00
return true;
2024-08-13 15:40:26 +08:00
};
2024-06-01 15:56:08 +08:00
};
2024-08-13 15:40:26 +08:00
bool attach_function();
int typex = 0;
2024-06-01 15:56:08 +08:00
};