Bazaar developer reference

CvGlobals::getNumUnitDomainInfos()

Defined in
CvGlobals.cpp, line 3999
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumUnitDomainInfos

Hooks

static bool BeforeCvGlobals_getNumUnitDomainInfos(CvGlobals* self, int& result);static void AfterCvGlobals_getNumUnitDomainInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumUnitDomainInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumUnitDomainInfos>(host, &BeforeCvGlobals_getNumUnitDomainInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumUnitDomainInfos>(host, &AfterCvGlobals_getNumUnitDomainInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumUnitDomainInfos>(host, &ReplaceCvGlobals_getNumUnitDomainInfos);

Code

3999int CvGlobals::getNumUnitDomainInfos()4000{4001	return (int)m_paUnitDomainInfo.size();4002}

Calls

Called by