Bazaar developer reference

CvPromotionEntry::GetPrereqOrPromotion7() const

Defined in
CvPromotionClasses.cpp, line 906
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetPrereqOrPromotion7

Hooks

static bool BeforeCvPromotionEntry_GetPrereqOrPromotion7(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetPrereqOrPromotion7(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetPrereqOrPromotion7(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetPrereqOrPromotion7>(host, &BeforeCvPromotionEntry_GetPrereqOrPromotion7);CivRegisterAfter<CivHooks::CvPromotionEntry_GetPrereqOrPromotion7>(host, &AfterCvPromotionEntry_GetPrereqOrPromotion7);CivRegisterReplace<CivHooks::CvPromotionEntry_GetPrereqOrPromotion7>(host, &ReplaceCvPromotionEntry_GetPrereqOrPromotion7);

Code

905/// Accessor: Gets promotion 7 of an either/or promotion prerequisite.906int CvPromotionEntry::GetPrereqOrPromotion7() const907{908	return m_iPrereqOrPromotion7;909}

Called by