Bazaar developer reference

CvDllPlot::IncrementReference()

Defined in
CvDllPlot.cpp, line 38
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_IncrementReference

Hooks

static bool BeforeCvDllPlot_IncrementReference(CvDllPlot* self, unsigned int& result);static void AfterCvDllPlot_IncrementReference(CvDllPlot* self, unsigned int& result);static unsigned int ReplaceCvDllPlot_IncrementReference(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_IncrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_IncrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IncrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_IncrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IncrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_IncrementReference);

Code

38unsigned int CvDllPlot::IncrementReference()39{40	++m_uiRefCount;41	return m_uiRefCount;42}

Called by