Bazaar developer reference

CvDllInterfaceModeInfo::IncrementReference()

Defined in
CvDllInterfaceModeInfo.cpp, line 35
Class
CvDllInterfaceModeInfo
Hook name
CivHooks::CvDllInterfaceModeInfo_IncrementReference

Hooks

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

Code

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

Called by