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