Bazaar developer reference

CvGlobals::getAICityStrategyInfo()

Defined in
CvGlobals.cpp, line 3654
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getAICityStrategyInfo

Hooks

static bool BeforeCvGlobals_getAICityStrategyInfo(CvGlobals* self, std::vector<CvAICityStrategyEntry*>*& result);static void AfterCvGlobals_getAICityStrategyInfo(CvGlobals* self, std::vector<CvAICityStrategyEntry*>*& result);static std::vector<CvAICityStrategyEntry*>& ReplaceCvGlobals_getAICityStrategyInfo(std::vector<CvAICityStrategyEntry*>& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getAICityStrategyInfo>(host, &BeforeCvGlobals_getAICityStrategyInfo);CivRegisterAfter<CivHooks::CvGlobals_getAICityStrategyInfo>(host, &AfterCvGlobals_getAICityStrategyInfo);CivRegisterReplace<CivHooks::CvGlobals_getAICityStrategyInfo>(host, &ReplaceCvGlobals_getAICityStrategyInfo);

Code

3654std::vector<CvAICityStrategyEntry*>& CvGlobals::getAICityStrategyInfo()3655{3656	return m_pAICityStrategies->GetAICityStrategyEntries();3657}

Calls

Called by