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