Hooks
static bool BeforeCvDllPreGame_setMapScriptName(CvDllPreGame* self, const CvString& s);static void AfterCvDllPreGame_setMapScriptName(CvDllPreGame* self, const CvString& s);static void ReplaceCvDllPreGame_setMapScriptName(void (*original)(CvDllPreGame*, const CvString&), CvDllPreGame* self, const CvString& s);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMapScriptName::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setMapScriptName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMapScriptName::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setMapScriptName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMapScriptName::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setMapScriptName);