Hooks
static bool BeforeCvDllPreGame_GetMapOptionCount(CvDllPreGame* self, uint& result);static void AfterCvDllPreGame_GetMapOptionCount(CvDllPreGame* self, uint& result);static uint ReplaceCvDllPreGame_GetMapOptionCount(uint (*original)(CvDllPreGame*), CvDllPreGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetMapOptionCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_GetMapOptionCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetMapOptionCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_GetMapOptionCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetMapOptionCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_GetMapOptionCount);