Bazaar developer reference

CvPromotionEntry::IsIgnoreFeatureDamage() const

Defined in
CvPromotionClasses.cpp, line 1509
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsIgnoreFeatureDamage

Hooks

static bool BeforeCvPromotionEntry_IsIgnoreFeatureDamage(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsIgnoreFeatureDamage(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsIgnoreFeatureDamage(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsIgnoreFeatureDamage>(host, &BeforeCvPromotionEntry_IsIgnoreFeatureDamage);CivRegisterAfter<CivHooks::CvPromotionEntry_IsIgnoreFeatureDamage>(host, &AfterCvPromotionEntry_IsIgnoreFeatureDamage);CivRegisterReplace<CivHooks::CvPromotionEntry_IsIgnoreFeatureDamage>(host, &ReplaceCvPromotionEntry_IsIgnoreFeatureDamage);

Code

1508/// Accessor: Ignores feature damage1509bool CvPromotionEntry::IsIgnoreFeatureDamage() const1510{1511	return m_bIgnoreFeatureDamage;1512}

Called by