Bazaar developer reference

CvBuildingEntry::IsPlayerBorderObstacle() const

Defined in
CvBuildingClasses.cpp, line 1525
Class
CvBuildingEntry
Hook name
CivHooks::CvBuildingEntry_IsPlayerBorderObstacle

Hooks

static bool BeforeCvBuildingEntry_IsPlayerBorderObstacle(const CvBuildingEntry* self, bool& result);static void AfterCvBuildingEntry_IsPlayerBorderObstacle(const CvBuildingEntry* self, bool& result);static bool ReplaceCvBuildingEntry_IsPlayerBorderObstacle(bool (*original)(const CvBuildingEntry*), const CvBuildingEntry* self);CivRegisterBefore<CivHooks::CvBuildingEntry_IsPlayerBorderObstacle>(host, &BeforeCvBuildingEntry_IsPlayerBorderObstacle);CivRegisterAfter<CivHooks::CvBuildingEntry_IsPlayerBorderObstacle>(host, &AfterCvBuildingEntry_IsPlayerBorderObstacle);CivRegisterReplace<CivHooks::CvBuildingEntry_IsPlayerBorderObstacle>(host, &ReplaceCvBuildingEntry_IsPlayerBorderObstacle);

Code

1524/// Is this an obstacle at the edge of your empire (e.g. Great Wall) -- for just the owning player1525bool CvBuildingEntry::IsPlayerBorderObstacle() const1526{1527	return m_bPlayerBorderObstacle;1528}

Called by