Bazaar developer reference

CvTeam::getAliveCount() const

Defined in
CvTeam.cpp, line 2793
Class
CvTeam
Hook name
CivHooks::CvTeam_getAliveCount

Hooks

static bool BeforeCvTeam_getAliveCount(const CvTeam* self, int& result);static void AfterCvTeam_getAliveCount(const CvTeam* self, int& result);static int ReplaceCvTeam_getAliveCount(int (*original)(const CvTeam*), const CvTeam* self);CivRegisterBefore<CivHooks::CvTeam_getAliveCount>(host, &BeforeCvTeam_getAliveCount);CivRegisterAfter<CivHooks::CvTeam_getAliveCount>(host, &AfterCvTeam_getAliveCount);CivRegisterReplace<CivHooks::CvTeam_getAliveCount>(host, &ReplaceCvTeam_getAliveCount);

Code

2793int CvTeam::getAliveCount() const2794{2795	return m_iAliveCount;2796}