Bazaar developer reference

CvPlayer::getBorderObstacleCount() const

Defined in
CvPlayer.cpp, line 17529
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getBorderObstacleCount

Hooks

static bool BeforeCvPlayer_getBorderObstacleCount(const CvPlayer* self, int& result);static void AfterCvPlayer_getBorderObstacleCount(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getBorderObstacleCount(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getBorderObstacleCount>(host, &BeforeCvPlayer_getBorderObstacleCount);CivRegisterAfter<CivHooks::CvPlayer_getBorderObstacleCount>(host, &AfterCvPlayer_getBorderObstacleCount);CivRegisterReplace<CivHooks::CvPlayer_getBorderObstacleCount>(host, &ReplaceCvPlayer_getBorderObstacleCount);

Code

17529int CvPlayer::getBorderObstacleCount() const17530{17531	return m_iBorderObstacleCount;17532}

Called by