Bazaar developer reference

CvGlobals::getNumAutomateInfos()

Defined in
CvGlobals.cpp, line 3466
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumAutomateInfos

Hooks

static bool BeforeCvGlobals_getNumAutomateInfos(CvGlobals* self, int& result);static void AfterCvGlobals_getNumAutomateInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumAutomateInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumAutomateInfos>(host, &BeforeCvGlobals_getNumAutomateInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumAutomateInfos>(host, &AfterCvGlobals_getNumAutomateInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumAutomateInfos>(host, &ReplaceCvGlobals_getNumAutomateInfos);

Code

3466int CvGlobals::getNumAutomateInfos()3467{3468	return (int)m_paAutomateInfo.size();3469}

Calls

Called by