Bazaar developer reference

CvGlobals::getUnitAIInfo()

Defined in
CvGlobals.cpp, line 3059
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getUnitAIInfo

Hooks

static bool BeforeCvGlobals_getUnitAIInfo(CvGlobals* self, std::vector<CvBaseInfo*>*& result);static void AfterCvGlobals_getUnitAIInfo(CvGlobals* self, std::vector<CvBaseInfo*>*& result);static std::vector<CvBaseInfo*>& ReplaceCvGlobals_getUnitAIInfo(std::vector<CvBaseInfo*>& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getUnitAIInfo>(host, &BeforeCvGlobals_getUnitAIInfo);CivRegisterAfter<CivHooks::CvGlobals_getUnitAIInfo>(host, &AfterCvGlobals_getUnitAIInfo);CivRegisterReplace<CivHooks::CvGlobals_getUnitAIInfo>(host, &ReplaceCvGlobals_getUnitAIInfo);

Code

3059std::vector<CvBaseInfo*>& CvGlobals::getUnitAIInfo()3060{3061	return m_paUnitAIInfos;3062}

Called by