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