Bazaar developer reference

CvDllBuildingInfo::IsPlayerBorderObstacle() const

Defined in
CvDllBuildingInfo.cpp, line 94
Class
CvDllBuildingInfo
Hook name
CivHooks::CvDllBuildingInfo_IsPlayerBorderObstacle

Hooks

static bool BeforeCvDllBuildingInfo_IsPlayerBorderObstacle(const CvDllBuildingInfo* self, bool& result);static void AfterCvDllBuildingInfo_IsPlayerBorderObstacle(const CvDllBuildingInfo* self, bool& result);static bool ReplaceCvDllBuildingInfo_IsPlayerBorderObstacle(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_IsPlayerBorderObstacle::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllBuildingInfo_IsPlayerBorderObstacle);host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildingInfo_IsPlayerBorderObstacle::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllBuildingInfo_IsPlayerBorderObstacle);host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildingInfo_IsPlayerBorderObstacle::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllBuildingInfo_IsPlayerBorderObstacle);

Code

94bool CvDllBuildingInfo::IsPlayerBorderObstacle() const95{96	return m_pBuildingInfo->IsPlayerBorderObstacle();97}

Calls