Bazaar developer reference

CvPromotionEntry::IsExtraFeatureDamage() const

Defined in
CvPromotionClasses.cpp, line 1521
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsExtraFeatureDamage

Hooks

static bool BeforeCvPromotionEntry_IsExtraFeatureDamage(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsExtraFeatureDamage(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsExtraFeatureDamage(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsExtraFeatureDamage>(host, &BeforeCvPromotionEntry_IsExtraFeatureDamage);CivRegisterAfter<CivHooks::CvPromotionEntry_IsExtraFeatureDamage>(host, &AfterCvPromotionEntry_IsExtraFeatureDamage);CivRegisterReplace<CivHooks::CvPromotionEntry_IsExtraFeatureDamage>(host, &ReplaceCvPromotionEntry_IsExtraFeatureDamage);

Code

1520/// Accessor: Takes extra feature damage1521bool CvPromotionEntry::IsExtraFeatureDamage() const1522{1523	return m_bExtraFeatureDamage;1524}

Called by