Hooks
static bool BeforeCvDllPreGame_SetLoadFileName(CvDllPreGame* self, const char* szFileName, StorageLocation eStorage);static void AfterCvDllPreGame_SetLoadFileName(CvDllPreGame* self, const char* szFileName, StorageLocation eStorage);static void ReplaceCvDllPreGame_SetLoadFileName(void (*original)(CvDllPreGame*, const char*, StorageLocation), CvDllPreGame* self, const char* szFileName, StorageLocation eStorage);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_SetLoadFileName::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_SetLoadFileName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_SetLoadFileName::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_SetLoadFileName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_SetLoadFileName::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_SetLoadFileName);