Bazaar developer reference

CvDllMap::IncrementReference()

Defined in
CvDllMap.cpp, line 37
Class
CvDllMap
Hook name
CivHooks::CvDllMap_IncrementReference

Hooks

static bool BeforeCvDllMap_IncrementReference(CvDllMap* self, unsigned int& result);static void AfterCvDllMap_IncrementReference(CvDllMap* self, unsigned int& result);static unsigned int ReplaceCvDllMap_IncrementReference(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_IncrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllMap_IncrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_IncrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllMap_IncrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_IncrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllMap_IncrementReference);

Code

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

Called by