Bazaar developer reference

CvPromotionEntry::GetPrereqOrPromotion4() const

Defined in
CvPromotionClasses.cpp, line 870
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetPrereqOrPromotion4

Hooks

static bool BeforeCvPromotionEntry_GetPrereqOrPromotion4(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetPrereqOrPromotion4(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetPrereqOrPromotion4(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetPrereqOrPromotion4>(host, &BeforeCvPromotionEntry_GetPrereqOrPromotion4);CivRegisterAfter<CivHooks::CvPromotionEntry_GetPrereqOrPromotion4>(host, &AfterCvPromotionEntry_GetPrereqOrPromotion4);CivRegisterReplace<CivHooks::CvPromotionEntry_GetPrereqOrPromotion4>(host, &ReplaceCvPromotionEntry_GetPrereqOrPromotion4);

Code

869/// Accessor: Gets promotion 4 of an either/or promotion prerequisite.870int CvPromotionEntry::GetPrereqOrPromotion4() const871{872	return m_iPrereqOrPromotion4;873}

Called by