Bazaar developer reference

CvDllPlot::GetReferenceCount()

Defined in
CvDllPlot.cpp, line 58
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_GetReferenceCount

Hooks

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

Code

58unsigned int CvDllPlot::GetReferenceCount()59{60	return m_uiRefCount;61}