Hooks
static bool BeforeCvDllPreGame_setMinorCivType(CvDllPreGame* self, PlayerTypes p, MinorCivTypes m);static void AfterCvDllPreGame_setMinorCivType(CvDllPreGame* self, PlayerTypes p, MinorCivTypes m);static void ReplaceCvDllPreGame_setMinorCivType(void (*original)(CvDllPreGame*, PlayerTypes, MinorCivTypes), CvDllPreGame* self, PlayerTypes p, MinorCivTypes m);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMinorCivType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setMinorCivType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMinorCivType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setMinorCivType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMinorCivType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setMinorCivType);