Hooks
static bool BeforeCvDllUnit_GetTeam(const CvDllUnit* self, TeamTypes& result);static void AfterCvDllUnit_GetTeam(const CvDllUnit* self, TeamTypes& result);static TeamTypes ReplaceCvDllUnit_GetTeam(TeamTypes (*original)(const CvDllUnit*), const CvDllUnit* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetTeam::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_GetTeam);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetTeam::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_GetTeam);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetTeam::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_GetTeam);