Bazaar developer reference

CvCity::setNeverLost(bool)

Defined in
CvCity.cpp, line 10027
Class
CvCity
Hook name
CivHooks::CvCity_setNeverLost

Hooks

static bool BeforeCvCity_setNeverLost(CvCity* self, bool bNewValue);static void AfterCvCity_setNeverLost(CvCity* self, bool bNewValue);static void ReplaceCvCity_setNeverLost(void (*original)(CvCity*, bool), CvCity* self, bool bNewValue);CivRegisterBefore<CivHooks::CvCity_setNeverLost>(host, &BeforeCvCity_setNeverLost);CivRegisterAfter<CivHooks::CvCity_setNeverLost>(host, &AfterCvCity_setNeverLost);CivRegisterReplace<CivHooks::CvCity_setNeverLost>(host, &ReplaceCvCity_setNeverLost);

Code

10027void CvCity::setNeverLost(bool bNewValue)10028{10029	VALIDATE_OBJECT10030	m_bNeverLost = bNewValue;10031}

Calls

Called by