Bazaar developer reference

CvDllPathFinderUpdateList::IncrementReference()

Defined in
CvDllPathFinderUpdate.cpp, line 115
Class
CvDllPathFinderUpdateList
Hook name
CivHooks::CvDllPathFinderUpdateList_IncrementReference

Hooks

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

Code

115unsigned int CvDllPathFinderUpdateList::IncrementReference()116{117	++m_uiRefCount;118	return m_uiRefCount;119}

Called by