Bazaar developer reference

CvTeam::canEmbarkAllWaterPassage() const

Defined in
CvTeam.cpp, line 3581
Class
CvTeam
Hook name
CivHooks::CvTeam_canEmbarkAllWaterPassage

Hooks

static bool BeforeCvTeam_canEmbarkAllWaterPassage(const CvTeam* self, bool& result);static void AfterCvTeam_canEmbarkAllWaterPassage(const CvTeam* self, bool& result);static bool ReplaceCvTeam_canEmbarkAllWaterPassage(bool (*original)(const CvTeam*), const CvTeam* self);CivRegisterBefore<CivHooks::CvTeam_canEmbarkAllWaterPassage>(host, &BeforeCvTeam_canEmbarkAllWaterPassage);CivRegisterAfter<CivHooks::CvTeam_canEmbarkAllWaterPassage>(host, &AfterCvTeam_canEmbarkAllWaterPassage);CivRegisterReplace<CivHooks::CvTeam_canEmbarkAllWaterPassage>(host, &ReplaceCvTeam_canEmbarkAllWaterPassage);

Code

3581bool CvTeam::canEmbarkAllWaterPassage() const3582{3583	return m_iEmbarkedAllWaterPassageCount > 0 ? true : false;3584}

Called by