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