Bazaar developer reference

CvTeam::canLaunch(VictoryTypes) const

Defined in
CvTeam.cpp, line 5148
Class
CvTeam
Hook name
CivHooks::CvTeam_canLaunch

Hooks

static bool BeforeCvTeam_canLaunch(const CvTeam* self, VictoryTypes eVictory, bool& result);static void AfterCvTeam_canLaunch(const CvTeam* self, VictoryTypes eVictory, bool& result);static bool ReplaceCvTeam_canLaunch(bool (*original)(const CvTeam*, VictoryTypes), const CvTeam* self, VictoryTypes eVictory);CivRegisterBefore<CivHooks::CvTeam_canLaunch>(host, &BeforeCvTeam_canLaunch);CivRegisterAfter<CivHooks::CvTeam_canLaunch>(host, &AfterCvTeam_canLaunch);CivRegisterReplace<CivHooks::CvTeam_canLaunch>(host, &ReplaceCvTeam_canLaunch);

Code

5148bool CvTeam::canLaunch(VictoryTypes eVictory) const5149{5150	return m_abCanLaunch[eVictory];5151}

Called by