Bazaar developer reference

CvTeam::canEmbark() const

Defined in
CvTeam.cpp, line 3433
Class
CvTeam
Hook name
CivHooks::CvTeam_canEmbark

Hooks

static bool BeforeCvTeam_canEmbark(const CvTeam* self, bool& result);static void AfterCvTeam_canEmbark(const CvTeam* self, bool& result);static bool ReplaceCvTeam_canEmbark(bool (*original)(const CvTeam*), const CvTeam* self);CivRegisterBefore<CivHooks::CvTeam_canEmbark>(host, &BeforeCvTeam_canEmbark);CivRegisterAfter<CivHooks::CvTeam_canEmbark>(host, &AfterCvTeam_canEmbark);CivRegisterReplace<CivHooks::CvTeam_canEmbark>(host, &ReplaceCvTeam_canEmbark);

Code

3433bool CvTeam::canEmbark() const3434{3435	return m_iCanEmbarkCount > 0 ? true : false;3436}

Called by