Bazaar developer reference

CvPromotionEntry::GetNumInterceptionChange() const

Defined in
CvPromotionClasses.cpp, line 1022
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetNumInterceptionChange

Hooks

static bool BeforeCvPromotionEntry_GetNumInterceptionChange(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetNumInterceptionChange(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetNumInterceptionChange(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetNumInterceptionChange>(host, &BeforeCvPromotionEntry_GetNumInterceptionChange);CivRegisterAfter<CivHooks::CvPromotionEntry_GetNumInterceptionChange>(host, &AfterCvPromotionEntry_GetNumInterceptionChange);CivRegisterReplace<CivHooks::CvPromotionEntry_GetNumInterceptionChange>(host, &ReplaceCvPromotionEntry_GetNumInterceptionChange);

Code

1021/// Accessor: Numbe rof extra interceptions that may be made on one turn1022int CvPromotionEntry::GetNumInterceptionChange() const1023{1024	return m_iNumInterceptionChange;1025}

Called by