Bazaar developer reference

CvDllVictoryInfo::GetReferenceCount()

Defined in
CvDllVictoryInfo.cpp, line 56
Class
CvDllVictoryInfo
Hook name
CivHooks::CvDllVictoryInfo_GetReferenceCount

Hooks

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

Code

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