Bazaar developer reference

CvGlobals::getNumAICityStrategyInfos()

Defined in
CvGlobals.cpp, line 3649
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumAICityStrategyInfos

Hooks

static bool BeforeCvGlobals_getNumAICityStrategyInfos(CvGlobals* self, int& result);static void AfterCvGlobals_getNumAICityStrategyInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumAICityStrategyInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumAICityStrategyInfos>(host, &BeforeCvGlobals_getNumAICityStrategyInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumAICityStrategyInfos>(host, &AfterCvGlobals_getNumAICityStrategyInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumAICityStrategyInfos>(host, &ReplaceCvGlobals_getNumAICityStrategyInfos);

Code

3649int CvGlobals::getNumAICityStrategyInfos()3650{3651	return (int)m_pAICityStrategies->GetAICityStrategyEntries().size();3652}

Calls

Called by