Bazaar developer reference

CvDllGameDeals::GetReferenceCount()

Defined in
CvDllGameDeals.cpp, line 56
Class
CvDllGameDeals
Hook name
CivHooks::CvDllGameDeals_GetReferenceCount

Hooks

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

Code

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