Bazaar developer reference

CvPlayer::isBorderObstacle() const

Defined in
CvPlayer.cpp, line 17535
Class
CvPlayer
Hook name
CivHooks::CvPlayer_isBorderObstacle

Hooks

static bool BeforeCvPlayer_isBorderObstacle(const CvPlayer* self, bool& result);static void AfterCvPlayer_isBorderObstacle(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_isBorderObstacle(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_isBorderObstacle>(host, &BeforeCvPlayer_isBorderObstacle);CivRegisterAfter<CivHooks::CvPlayer_isBorderObstacle>(host, &AfterCvPlayer_isBorderObstacle);CivRegisterReplace<CivHooks::CvPlayer_isBorderObstacle>(host, &ReplaceCvPlayer_isBorderObstacle);

Code

17535bool CvPlayer::isBorderObstacle() const17536{17537	return (getBorderObstacleCount() > 0);17538}

Calls

Called by