Bazaar developer reference

CvPromotionEntry::GetAuraEffectChange() const

Defined in
CvPromotionClasses.cpp, line 1221
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetAuraEffectChange

Hooks

static bool BeforeCvPromotionEntry_GetAuraEffectChange(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetAuraEffectChange(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetAuraEffectChange(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetAuraEffectChange>(host, &BeforeCvPromotionEntry_GetAuraEffectChange);CivRegisterAfter<CivHooks::CvPromotionEntry_GetAuraEffectChange>(host, &AfterCvPromotionEntry_GetAuraEffectChange);CivRegisterReplace<CivHooks::CvPromotionEntry_GetAuraEffectChange>(host, &ReplaceCvPromotionEntry_GetAuraEffectChange);

Code

1220/// Accessor: Does this Promotion change the effect of the aura of a Great General or Great Admiral?1221int CvPromotionEntry::GetAuraEffectChange() const1222{1223	return m_iAuraEffectChange;1224}

Called by