Bazaar developer reference

CvPromotionEntry::IsInstaHeal() const

Defined in
CvPromotionClasses.cpp, line 1424
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsInstaHeal

Hooks

static bool BeforeCvPromotionEntry_IsInstaHeal(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsInstaHeal(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsInstaHeal(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsInstaHeal>(host, &BeforeCvPromotionEntry_IsInstaHeal);CivRegisterAfter<CivHooks::CvPromotionEntry_IsInstaHeal>(host, &AfterCvPromotionEntry_IsInstaHeal);CivRegisterReplace<CivHooks::CvPromotionEntry_IsInstaHeal>(host, &ReplaceCvPromotionEntry_IsInstaHeal);

Code

1423/// Accessor: Does this promotion instantly heal a Unit?1424bool CvPromotionEntry::IsInstaHeal() const1425{1426	return m_bInstaHeal;1427}

Called by