Bazaar developer reference

CvDllEraInfo::IncrementReference()

Defined in
CvDllEraInfo.cpp, line 35
Class
CvDllEraInfo
Hook name
CivHooks::CvDllEraInfo_IncrementReference

Hooks

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

Code

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

Called by