Bazaar developer reference

CvDllPathFinderUpdateList::GetReferenceCount()

Defined in
CvDllPathFinderUpdate.cpp, line 135
Class
CvDllPathFinderUpdateList
Hook name
CivHooks::CvDllPathFinderUpdateList_GetReferenceCount

Hooks

static bool BeforeCvDllPathFinderUpdateList_GetReferenceCount(CvDllPathFinderUpdateList* self, unsigned int& result);static void AfterCvDllPathFinderUpdateList_GetReferenceCount(CvDllPathFinderUpdateList* self, unsigned int& result);static unsigned int ReplaceCvDllPathFinderUpdateList_GetReferenceCount(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_GetReferenceCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPathFinderUpdateList_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPathFinderUpdateList_GetReferenceCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPathFinderUpdateList_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPathFinderUpdateList_GetReferenceCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPathFinderUpdateList_GetReferenceCount);

Code

135unsigned int CvDllPathFinderUpdateList::GetReferenceCount()136{137	return m_uiRefCount;138}