Bazaar developer reference

CvPromotionEntry::GetPrereqOrPromotion3() const

Defined in
CvPromotionClasses.cpp, line 858
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetPrereqOrPromotion3

Hooks

static bool BeforeCvPromotionEntry_GetPrereqOrPromotion3(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetPrereqOrPromotion3(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetPrereqOrPromotion3(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetPrereqOrPromotion3>(host, &BeforeCvPromotionEntry_GetPrereqOrPromotion3);CivRegisterAfter<CivHooks::CvPromotionEntry_GetPrereqOrPromotion3>(host, &AfterCvPromotionEntry_GetPrereqOrPromotion3);CivRegisterReplace<CivHooks::CvPromotionEntry_GetPrereqOrPromotion3>(host, &ReplaceCvPromotionEntry_GetPrereqOrPromotion3);

Code

857/// Accessor: Gets promotion 3 of an either/or promotion prerequisite.858int CvPromotionEntry::GetPrereqOrPromotion3() const859{860	return m_iPrereqOrPromotion3;861}

Called by