Bazaar developer reference

CvTeam::setCanLaunch(VictoryTypes, bool)

Defined in
CvTeam.cpp, line 5142
Class
CvTeam
Hook name
CivHooks::CvTeam_setCanLaunch

Hooks

static bool BeforeCvTeam_setCanLaunch(CvTeam* self, VictoryTypes eVictory, bool bCan);static void AfterCvTeam_setCanLaunch(CvTeam* self, VictoryTypes eVictory, bool bCan);static void ReplaceCvTeam_setCanLaunch(void (*original)(CvTeam*, VictoryTypes, bool), CvTeam* self, VictoryTypes eVictory, bool bCan);CivRegisterBefore<CivHooks::CvTeam_setCanLaunch>(host, &BeforeCvTeam_setCanLaunch);CivRegisterAfter<CivHooks::CvTeam_setCanLaunch>(host, &AfterCvTeam_setCanLaunch);CivRegisterReplace<CivHooks::CvTeam_setCanLaunch>(host, &ReplaceCvTeam_setCanLaunch);

Code

5142void CvTeam::setCanLaunch(VictoryTypes eVictory, bool bCan)5143{5144	m_abCanLaunch[eVictory] = bCan;5145}