Bazaar developer reference

CvDllGameDeals::IncrementReference()

Defined in
CvDllGameDeals.cpp, line 36
Class
CvDllGameDeals
Hook name
CivHooks::CvDllGameDeals_IncrementReference

Hooks

static bool BeforeCvDllGameDeals_IncrementReference(CvDllGameDeals* self, unsigned int& result);static void AfterCvDllGameDeals_IncrementReference(CvDllGameDeals* self, unsigned int& result);static unsigned int ReplaceCvDllGameDeals_IncrementReference(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_IncrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameDeals_IncrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameDeals_IncrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameDeals_IncrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameDeals_IncrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameDeals_IncrementReference);

Code

36unsigned int CvDllGameDeals::IncrementReference()37{38	++m_uiRefCount;39	return m_uiRefCount;40}

Called by