Bazaar developer reference

CvDllNetInitInfo::GetReferenceCount()

Defined in
CvDllNetInitInfo.cpp, line 88
Class
CvDllNetInitInfo
Hook name
CivHooks::CvDllNetInitInfo_GetReferenceCount

Hooks

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

Code

88unsigned int CvDllNetInitInfo::GetReferenceCount()89{90	return m_uiRefCount;91}