Hooks
static bool BeforeCvDllPreGame_setCustomWorldSize(CvDllPreGame* self, int iWidth, int iHeight, int iPlayers, int iMinorCivs);static void AfterCvDllPreGame_setCustomWorldSize(CvDllPreGame* self, int iWidth, int iHeight, int iPlayers, int iMinorCivs);static void ReplaceCvDllPreGame_setCustomWorldSize(void (*original)(CvDllPreGame*, int, int, int, int), CvDllPreGame* self, int iWidth, int iHeight, int iPlayers, int iMinorCivs);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCustomWorldSize::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setCustomWorldSize);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCustomWorldSize::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setCustomWorldSize);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCustomWorldSize::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setCustomWorldSize);