Bazaar developer reference

CvBuildingEntry::IsHill() const

Defined in
CvBuildingClasses.cpp, line 1495
Class
CvBuildingEntry
Hook name
CivHooks::CvBuildingEntry_IsHill

Hooks

static bool BeforeCvBuildingEntry_IsHill(const CvBuildingEntry* self, bool& result);static void AfterCvBuildingEntry_IsHill(const CvBuildingEntry* self, bool& result);static bool ReplaceCvBuildingEntry_IsHill(bool (*original)(const CvBuildingEntry*), const CvBuildingEntry* self);CivRegisterBefore<CivHooks::CvBuildingEntry_IsHill>(host, &BeforeCvBuildingEntry_IsHill);CivRegisterAfter<CivHooks::CvBuildingEntry_IsHill>(host, &AfterCvBuildingEntry_IsHill);CivRegisterReplace<CivHooks::CvBuildingEntry_IsHill>(host, &ReplaceCvBuildingEntry_IsHill);

Code

1494/// Must this be built in a city on a hill?1495bool CvBuildingEntry::IsHill() const1496{1497	return m_bHill;1498}

Called by