Bazaar developer reference

CvTeam::getBorderObstacleCount() const

Defined in
CvTeam.cpp, line 3326
Class
CvTeam
Hook name
CivHooks::CvTeam_getBorderObstacleCount

Hooks

static bool BeforeCvTeam_getBorderObstacleCount(const CvTeam* self, int& result);static void AfterCvTeam_getBorderObstacleCount(const CvTeam* self, int& result);static int ReplaceCvTeam_getBorderObstacleCount(int (*original)(const CvTeam*), const CvTeam* self);CivRegisterBefore<CivHooks::CvTeam_getBorderObstacleCount>(host, &BeforeCvTeam_getBorderObstacleCount);CivRegisterAfter<CivHooks::CvTeam_getBorderObstacleCount>(host, &AfterCvTeam_getBorderObstacleCount);CivRegisterReplace<CivHooks::CvTeam_getBorderObstacleCount>(host, &ReplaceCvTeam_getBorderObstacleCount);

Code

3326int CvTeam::getBorderObstacleCount() const3327{3328	return m_iBorderObstacleCount;3329}

Called by