Bazaar developer reference

CvPromotionEntry::GetEvasionChange() const

Defined in
CvPromotionClasses.cpp, line 1028
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetEvasionChange

Hooks

static bool BeforeCvPromotionEntry_GetEvasionChange(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetEvasionChange(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetEvasionChange(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetEvasionChange>(host, &BeforeCvPromotionEntry_GetEvasionChange);CivRegisterAfter<CivHooks::CvPromotionEntry_GetEvasionChange>(host, &AfterCvPromotionEntry_GetEvasionChange);CivRegisterReplace<CivHooks::CvPromotionEntry_GetEvasionChange>(host, &ReplaceCvPromotionEntry_GetEvasionChange);

Code

1027/// Accessor: How well an air unit can evade interception1028int CvPromotionEntry::GetEvasionChange() const1029{1030	return m_iEvasionChange;1031}

Called by