Bazaar developer reference

CvPromotionEntry::GetPrereqOrPromotion5() const

Defined in
CvPromotionClasses.cpp, line 882
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetPrereqOrPromotion5

Hooks

static bool BeforeCvPromotionEntry_GetPrereqOrPromotion5(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetPrereqOrPromotion5(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetPrereqOrPromotion5(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetPrereqOrPromotion5>(host, &BeforeCvPromotionEntry_GetPrereqOrPromotion5);CivRegisterAfter<CivHooks::CvPromotionEntry_GetPrereqOrPromotion5>(host, &AfterCvPromotionEntry_GetPrereqOrPromotion5);CivRegisterReplace<CivHooks::CvPromotionEntry_GetPrereqOrPromotion5>(host, &ReplaceCvPromotionEntry_GetPrereqOrPromotion5);

Code

881/// Accessor: Gets promotion 5 of an either/or promotion prerequisite.882int CvPromotionEntry::GetPrereqOrPromotion5() const883{884	return m_iPrereqOrPromotion5;885}

Called by