Bazaar developer reference

CvDllFeatureInfo::GetReferenceCount()

Defined in
CvDllFeatureInfo.cpp, line 55
Class
CvDllFeatureInfo
Hook name
CivHooks::CvDllFeatureInfo_GetReferenceCount

Hooks

static bool BeforeCvDllFeatureInfo_GetReferenceCount(CvDllFeatureInfo* self, unsigned int& result);static void AfterCvDllFeatureInfo_GetReferenceCount(CvDllFeatureInfo* self, unsigned int& result);static unsigned int ReplaceCvDllFeatureInfo_GetReferenceCount(unsigned int (*original)(CvDllFeatureInfo*), CvDllFeatureInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_GetReferenceCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllFeatureInfo_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_GetReferenceCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllFeatureInfo_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_GetReferenceCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllFeatureInfo_GetReferenceCount);

Code

55unsigned int CvDllFeatureInfo::GetReferenceCount()56{57	return m_uiRefCount;58}