Bazaar developer reference

CvPromotionEntry::GetPrereqOrPromotion8() const

Defined in
CvPromotionClasses.cpp, line 918
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetPrereqOrPromotion8

Hooks

static bool BeforeCvPromotionEntry_GetPrereqOrPromotion8(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetPrereqOrPromotion8(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetPrereqOrPromotion8(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetPrereqOrPromotion8>(host, &BeforeCvPromotionEntry_GetPrereqOrPromotion8);CivRegisterAfter<CivHooks::CvPromotionEntry_GetPrereqOrPromotion8>(host, &AfterCvPromotionEntry_GetPrereqOrPromotion8);CivRegisterReplace<CivHooks::CvPromotionEntry_GetPrereqOrPromotion8>(host, &ReplaceCvPromotionEntry_GetPrereqOrPromotion8);

Code

917/// Accessor: Gets promotion 8 of an either/or promotion prerequisite.918int CvPromotionEntry::GetPrereqOrPromotion8() const919{920	return m_iPrereqOrPromotion8;921}

Called by