LunaHook-mirror/LunaHook/engine32/Debonosu.h
恍兮惚兮 6a43cd5b86 pch
2024-05-06 23:31:54 +08:00

16 lines
533 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class Debonosu:public ENGINE{
public:
Debonosu(){
check_by=CHECK_BY::CUSTOM;
check_by_target=[](){
//神楽創世記-久遠-
//官方中英版bmp.pak在语言目录里。
auto paks={L"bmp.pak",L"EN\\bmp.pak",L"ZHCN\\bmp.pak",L"ZHTW\\bmp.pak"};
return (std::any_of(paks.begin(),paks.end(),Util::CheckFile) && Util::CheckFile(L"dsetup.dll"))||(Util::SearchResourceString(L"でぼの巣製作所"));
};
};
bool attach_function();
};