Bazaar developer reference

CvPromotionEntry::GetNeutralHealChange() const

Defined in
CvPromotionClasses.cpp, line 1046
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetNeutralHealChange

Hooks

static bool BeforeCvPromotionEntry_GetNeutralHealChange(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetNeutralHealChange(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetNeutralHealChange(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetNeutralHealChange>(host, &BeforeCvPromotionEntry_GetNeutralHealChange);CivRegisterAfter<CivHooks::CvPromotionEntry_GetNeutralHealChange>(host, &AfterCvPromotionEntry_GetNeutralHealChange);CivRegisterReplace<CivHooks::CvPromotionEntry_GetNeutralHealChange>(host, &ReplaceCvPromotionEntry_GetNeutralHealChange);

Code

1045/// Accessor: Damage/health bonus per turn in neutral lands1046int CvPromotionEntry::GetNeutralHealChange() const1047{1048	return m_iNeutralHealChange;1049}

Called by