Bazaar developer reference

CvTeam::getCanEmbarkCount() const

Defined in
CvTeam.cpp, line 3439
Class
CvTeam
Hook name
CivHooks::CvTeam_getCanEmbarkCount

Hooks

static bool BeforeCvTeam_getCanEmbarkCount(const CvTeam* self, int& result);static void AfterCvTeam_getCanEmbarkCount(const CvTeam* self, int& result);static int ReplaceCvTeam_getCanEmbarkCount(int (*original)(const CvTeam*), const CvTeam* self);CivRegisterBefore<CivHooks::CvTeam_getCanEmbarkCount>(host, &BeforeCvTeam_getCanEmbarkCount);CivRegisterAfter<CivHooks::CvTeam_getCanEmbarkCount>(host, &AfterCvTeam_getCanEmbarkCount);CivRegisterReplace<CivHooks::CvTeam_getCanEmbarkCount>(host, &ReplaceCvTeam_getCanEmbarkCount);

Code

3439int CvTeam::getCanEmbarkCount() const3440{3441	return m_iCanEmbarkCount;3442}

Called by