Bazaar developer reference

CvDllMap::GetReferenceCount()

Defined in
CvDllMap.cpp, line 57
Class
CvDllMap
Hook name
CivHooks::CvDllMap_GetReferenceCount

Hooks

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

Code

57unsigned int CvDllMap::GetReferenceCount()58{59	return m_uiRefCount;60}