Bazaar developer reference

CvCity::isNeverLost() const

Defined in
CvCity.cpp, line 10019
Class
CvCity
Hook name
CivHooks::CvCity_isNeverLost

Hooks

static bool BeforeCvCity_isNeverLost(const CvCity* self, bool& result);static void AfterCvCity_isNeverLost(const CvCity* self, bool& result);static bool ReplaceCvCity_isNeverLost(bool (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_isNeverLost>(host, &BeforeCvCity_isNeverLost);CivRegisterAfter<CivHooks::CvCity_isNeverLost>(host, &AfterCvCity_isNeverLost);CivRegisterReplace<CivHooks::CvCity_isNeverLost>(host, &ReplaceCvCity_isNeverLost);

Code

10019bool CvCity::isNeverLost() const10020{10021	VALIDATE_OBJECT10022	return m_bNeverLost;10023}

Calls

Called by