Bazaar developer reference

CvDllPathFinderUpdate::IncrementReference()

Defined in
CvDllPathFinderUpdate.cpp, line 37
Class
CvDllPathFinderUpdate
Hook name
CivHooks::CvDllPathFinderUpdate_IncrementReference

Hooks

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

Code

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

Called by