Bazaar developer reference

CvCityStrategyAI::GetProjectProductionAI()

Defined in
CvCityStrategyAI.cpp, line 588
Class
CvCityStrategyAI
Hook name
CivHooks::CvCityStrategyAI_GetProjectProductionAI

Hooks

static bool BeforeCvCityStrategyAI_GetProjectProductionAI(CvCityStrategyAI* self, CvProjectProductionAI*& result);static void AfterCvCityStrategyAI_GetProjectProductionAI(CvCityStrategyAI* self, CvProjectProductionAI*& result);static CvProjectProductionAI* ReplaceCvCityStrategyAI_GetProjectProductionAI(CvProjectProductionAI* (*original)(CvCityStrategyAI*), CvCityStrategyAI* self);CivRegisterBefore<CivHooks::CvCityStrategyAI_GetProjectProductionAI>(host, &BeforeCvCityStrategyAI_GetProjectProductionAI);CivRegisterAfter<CivHooks::CvCityStrategyAI_GetProjectProductionAI>(host, &AfterCvCityStrategyAI_GetProjectProductionAI);CivRegisterReplace<CivHooks::CvCityStrategyAI_GetProjectProductionAI>(host, &ReplaceCvCityStrategyAI_GetProjectProductionAI);

Code

587/// Get the sub-object tracking project production588CvProjectProductionAI* CvCityStrategyAI::GetProjectProductionAI()589{590	return m_pProjectProductionAI;591}

Called by