Bazaar developer reference

CvDllBuildingInfo::IsBorderObstacle() const

Defined in
CvDllBuildingInfo.cpp, line 89
Class
CvDllBuildingInfo
Hook name
CivHooks::CvDllBuildingInfo_IsBorderObstacle

Hooks

static bool BeforeCvDllBuildingInfo_IsBorderObstacle(const CvDllBuildingInfo* self, bool& result);static void AfterCvDllBuildingInfo_IsBorderObstacle(const CvDllBuildingInfo* self, bool& result);static bool ReplaceCvDllBuildingInfo_IsBorderObstacle(bool (*original)(const CvDllBuildingInfo*), const CvDllBuildingInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildingInfo_IsBorderObstacle::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllBuildingInfo_IsBorderObstacle);host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildingInfo_IsBorderObstacle::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllBuildingInfo_IsBorderObstacle);host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildingInfo_IsBorderObstacle::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllBuildingInfo_IsBorderObstacle);

Code

89bool CvDllBuildingInfo::IsBorderObstacle() const90{91	return m_pBuildingInfo->IsBorderObstacle();92}

Calls