Bazaar developer reference

CvPromotionEntry::GetPrereqOrPromotion6() const

Defined in
CvPromotionClasses.cpp, line 894
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetPrereqOrPromotion6

Hooks

static bool BeforeCvPromotionEntry_GetPrereqOrPromotion6(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetPrereqOrPromotion6(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetPrereqOrPromotion6(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetPrereqOrPromotion6>(host, &BeforeCvPromotionEntry_GetPrereqOrPromotion6);CivRegisterAfter<CivHooks::CvPromotionEntry_GetPrereqOrPromotion6>(host, &AfterCvPromotionEntry_GetPrereqOrPromotion6);CivRegisterReplace<CivHooks::CvPromotionEntry_GetPrereqOrPromotion6>(host, &ReplaceCvPromotionEntry_GetPrereqOrPromotion6);

Code

893/// Accessor: Gets promotion 6 of an either/or promotion prerequisite.894int CvPromotionEntry::GetPrereqOrPromotion6() const895{896	return m_iPrereqOrPromotion6;897}

Called by