Bazaar developer reference

CvPromotionEntry::GetInterceptChanceChange() const

Defined in
CvPromotionClasses.cpp, line 1016
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetInterceptChanceChange

Hooks

static bool BeforeCvPromotionEntry_GetInterceptChanceChange(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetInterceptChanceChange(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetInterceptChanceChange(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetInterceptChanceChange>(host, &BeforeCvPromotionEntry_GetInterceptChanceChange);CivRegisterAfter<CivHooks::CvPromotionEntry_GetInterceptChanceChange>(host, &AfterCvPromotionEntry_GetInterceptChanceChange);CivRegisterReplace<CivHooks::CvPromotionEntry_GetInterceptChanceChange>(host, &ReplaceCvPromotionEntry_GetInterceptChanceChange);

Code

1015/// Accessor: How much the intercept chance changes for an air unit1016int CvPromotionEntry::GetInterceptChanceChange() const1017{1018	return m_iInterceptChanceChange;1019}

Called by