Bazaar developer reference

CvCityAI::AI_init()

Defined in
CvCityAI.cpp, line 44
Class
CvCityAI
Hook name
CivHooks::CvCityAI_AI_init
Overrides
CvCity::AI_init()

Hooks

static bool BeforeCvCityAI_AI_init(CvCityAI* self);static void AfterCvCityAI_AI_init(CvCityAI* self);static void ReplaceCvCityAI_AI_init(void (*original)(CvCityAI*), CvCityAI* self);CivRegisterBefore<CivHooks::CvCityAI_AI_init>(host, &BeforeCvCityAI_AI_init);CivRegisterAfter<CivHooks::CvCityAI_AI_init>(host, &AfterCvCityAI_AI_init);CivRegisterReplace<CivHooks::CvCityAI_AI_init>(host, &ReplaceCvCityAI_AI_init);

Code

44void CvCityAI::AI_init()45{46	VALIDATE_OBJECT47	AI_reset();48}

Calls