Bazaar developer reference

CvCity::isVisible(TeamTypes, bool) const

Defined in
CvCity.cpp, line 7167
Class
CvCity
Hook name
CivHooks::CvCity_isVisible

Hooks

static bool BeforeCvCity_isVisible(const CvCity* self, TeamTypes eTeam, bool bDebug, bool& result);static void AfterCvCity_isVisible(const CvCity* self, TeamTypes eTeam, bool bDebug, bool& result);static bool ReplaceCvCity_isVisible(bool (*original)(const CvCity*, TeamTypes, bool), const CvCity* self, TeamTypes eTeam, bool bDebug);CivRegisterBefore<CivHooks::CvCity_isVisible>(host, &BeforeCvCity_isVisible);CivRegisterAfter<CivHooks::CvCity_isVisible>(host, &AfterCvCity_isVisible);CivRegisterReplace<CivHooks::CvCity_isVisible>(host, &ReplaceCvCity_isVisible);

Code

7167bool CvCity::isVisible(TeamTypes eTeam, bool bDebug) const7168{7169	VALIDATE_OBJECT7170	return plot()->isVisible(eTeam, bDebug);7171}

Calls

Called by