Bazaar developer reference

CvDllGameAsynch::GetReferenceCount()

Defined in
CvDllGameAsynch.cpp, line 56
Class
CvDllGameAsynch
Hook name
CivHooks::CvDllGameAsynch_GetReferenceCount

Hooks

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

Code

56unsigned int CvDllGameAsynch::GetReferenceCount()57{58	return m_uiRefCount;59}