Bazaar developer reference

CvDllColorInfo::IncrementReference()

Defined in
CvDllColorInfo.cpp, line 35
Class
CvDllColorInfo
Hook name
CivHooks::CvDllColorInfo_IncrementReference

Hooks

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

Code

35unsigned int CvDllColorInfo::IncrementReference()36{37	++m_uiRefCount;38	return m_uiRefCount;39}

Called by