Hooks
static bool BeforeCvDllPreGame_numMinorCivs(CvDllPreGame* self, int& result);static void AfterCvDllPreGame_numMinorCivs(CvDllPreGame* self, int& result);static int ReplaceCvDllPreGame_numMinorCivs(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_numMinorCivs::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_numMinorCivs);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_numMinorCivs::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_numMinorCivs);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_numMinorCivs::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_numMinorCivs);