Bazaar developer reference

CvDllTeam::IncrementReference()

Defined in
CvDllTeam.cpp, line 34
Class
CvDllTeam
Hook name
CivHooks::CvDllTeam_IncrementReference

Hooks

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

Code

34unsigned int CvDllTeam::IncrementReference()35{36	++m_uiRefCount;37	return m_uiRefCount;38}

Called by