Hooks
static bool BeforeCvDllGameContext_GetCivilizationInfoIndex(CvDllGameContext* self, const char* pszType, CivilizationTypes& result);static void AfterCvDllGameContext_GetCivilizationInfoIndex(CvDllGameContext* self, const char* pszType, CivilizationTypes& result);static CivilizationTypes ReplaceCvDllGameContext_GetCivilizationInfoIndex(CivilizationTypes (*original)(CvDllGameContext*, const char*), CvDllGameContext* self, const char* pszType);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetCivilizationInfoIndex::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetCivilizationInfoIndex);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetCivilizationInfoIndex::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetCivilizationInfoIndex);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetCivilizationInfoIndex::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetCivilizationInfoIndex);