Bazaar developer reference

CvCity::GetCityStrategyAI() const

Defined in
CvCity.cpp, line 15092
Class
CvCity
Hook name
CivHooks::CvCity_GetCityStrategyAI

Hooks

static bool BeforeCvCity_GetCityStrategyAI(const CvCity* self, CvCityStrategyAI*& result);static void AfterCvCity_GetCityStrategyAI(const CvCity* self, CvCityStrategyAI*& result);static CvCityStrategyAI* ReplaceCvCity_GetCityStrategyAI(CvCityStrategyAI* (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_GetCityStrategyAI>(host, &BeforeCvCity_GetCityStrategyAI);CivRegisterAfter<CivHooks::CvCity_GetCityStrategyAI>(host, &AfterCvCity_GetCityStrategyAI);CivRegisterReplace<CivHooks::CvCity_GetCityStrategyAI>(host, &ReplaceCvCity_GetCityStrategyAI);

Code

15092CvCityStrategyAI* CvCity::GetCityStrategyAI() const15093{15094	VALIDATE_OBJECT15095	return m_pCityStrategyAI;15096}

Called by

32 functions in 14 files