mirror of
https://github.com/GTAIV-Complete-Edition-text/GTA4.CHS
synced 2026-11-26 09:27:55 +08:00
13 lines
313 B
C++
13 lines
313 B
C++
#include "plugin.h"
|
|
|
|
BOOL WINAPI DllMain(HMODULE module, DWORD reason, LPVOID reserved)
|
|
{
|
|
if (reason == DLL_PROCESS_ATTACH)
|
|
{
|
|
spdlog::basic_logger_mt("gta4.chs", plugin.GetPluginAsset("gta4.chs.log").string(), true);
|
|
return plugin.Init(module) ? TRUE : FALSE;
|
|
}
|
|
|
|
return TRUE;
|
|
}
|