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