Bazaar developer reference

CvCityCitizens::SetAutomated(bool)

Defined in
CvCityCitizens.cpp, line 583
Class
CvCityCitizens
Hook name
CivHooks::CvCityCitizens_SetAutomated

Hooks

static bool BeforeCvCityCitizens_SetAutomated(CvCityCitizens* self, bool bValue);static void AfterCvCityCitizens_SetAutomated(CvCityCitizens* self, bool bValue);static void ReplaceCvCityCitizens_SetAutomated(void (*original)(CvCityCitizens*, bool), CvCityCitizens* self, bool bValue);CivRegisterBefore<CivHooks::CvCityCitizens_SetAutomated>(host, &BeforeCvCityCitizens_SetAutomated);CivRegisterAfter<CivHooks::CvCityCitizens_SetAutomated>(host, &AfterCvCityCitizens_SetAutomated);CivRegisterReplace<CivHooks::CvCityCitizens_SetAutomated>(host, &ReplaceCvCityCitizens_SetAutomated);

Code

582/// Sets this City's Citizens to be under automation583void CvCityCitizens::SetAutomated(bool bValue)584{585	m_bAutomated = bValue;586}