Hooks
static bool BeforeCvDllTeam_GetTechs(const CvDllTeam* self, TechTypes* pkTechArray, uint uiArraySize, int& result);static void AfterCvDllTeam_GetTechs(const CvDllTeam* self, TechTypes* pkTechArray, uint uiArraySize, int& result);static int ReplaceCvDllTeam_GetTechs(int (*original)(const CvDllTeam*, TechTypes*, uint), const CvDllTeam* self, TechTypes* pkTechArray, uint uiArraySize);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetTechs::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTeam_GetTechs);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetTechs::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTeam_GetTechs);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetTechs::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTeam_GetTechs);