Hooks
static bool BeforeCvDllTeam_GetTechCount(const CvDllTeam* self, int& result);static void AfterCvDllTeam_GetTechCount(const CvDllTeam* self, int& result);static int ReplaceCvDllTeam_GetTechCount(int (*original)(const CvDllTeam*), const CvDllTeam* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetTechCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTeam_GetTechCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetTechCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTeam_GetTechCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetTechCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTeam_GetTechCount);