Bazaar developer reference

CvDllNetLoadGameInfo::GetReferenceCount()

Defined in
CvDllNetLoadGameInfo.cpp, line 55
Class
CvDllNetLoadGameInfo
Hook name
CivHooks::CvDllNetLoadGameInfo_GetReferenceCount

Hooks

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

Code

55unsigned int CvDllNetLoadGameInfo::GetReferenceCount()56{57	return m_uiRefCount;58}