Bazaar developer reference

CvBuildingEntry::IsNukeImmune() const

Defined in
CvBuildingClasses.cpp, line 1606
Class
CvBuildingEntry
Hook name
CivHooks::CvBuildingEntry_IsNukeImmune

Hooks

static bool BeforeCvBuildingEntry_IsNukeImmune(const CvBuildingEntry* self, bool& result);static void AfterCvBuildingEntry_IsNukeImmune(const CvBuildingEntry* self, bool& result);static bool ReplaceCvBuildingEntry_IsNukeImmune(bool (*original)(const CvBuildingEntry*), const CvBuildingEntry* self);CivRegisterBefore<CivHooks::CvBuildingEntry_IsNukeImmune>(host, &BeforeCvBuildingEntry_IsNukeImmune);CivRegisterAfter<CivHooks::CvBuildingEntry_IsNukeImmune>(host, &AfterCvBuildingEntry_IsNukeImmune);CivRegisterReplace<CivHooks::CvBuildingEntry_IsNukeImmune>(host, &ReplaceCvBuildingEntry_IsNukeImmune);

Code

1605/// Is the building immune to nukes?1606bool CvBuildingEntry::IsNukeImmune() const1607{1608	return m_bNukeImmune;1609}