Bazaar developer reference

CvPromotionEntry::IsNukeImmune() const

Defined in
CvPromotionClasses.cpp, line 1618
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsNukeImmune

Hooks

static bool BeforeCvPromotionEntry_IsNukeImmune(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsNukeImmune(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsNukeImmune(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsNukeImmune>(host, &BeforeCvPromotionEntry_IsNukeImmune);CivRegisterAfter<CivHooks::CvPromotionEntry_IsNukeImmune>(host, &AfterCvPromotionEntry_IsNukeImmune);CivRegisterReplace<CivHooks::CvPromotionEntry_IsNukeImmune>(host, &ReplaceCvPromotionEntry_IsNukeImmune);

Code

1617/// Accessor: Cannot be hurt by nukes?1618bool CvPromotionEntry::IsNukeImmune() const1619{1620	return m_bNukeImmune;1621}

Called by