Bazaar developer reference

CvPromotionEntry::GetPrereqOrPromotion9() const

Defined in
CvPromotionClasses.cpp, line 930
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetPrereqOrPromotion9

Hooks

static bool BeforeCvPromotionEntry_GetPrereqOrPromotion9(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetPrereqOrPromotion9(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetPrereqOrPromotion9(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetPrereqOrPromotion9>(host, &BeforeCvPromotionEntry_GetPrereqOrPromotion9);CivRegisterAfter<CivHooks::CvPromotionEntry_GetPrereqOrPromotion9>(host, &AfterCvPromotionEntry_GetPrereqOrPromotion9);CivRegisterReplace<CivHooks::CvPromotionEntry_GetPrereqOrPromotion9>(host, &ReplaceCvPromotionEntry_GetPrereqOrPromotion9);

Code

929/// Accessor: Gets promotion 9 of an either/or promotion prerequisite.930int CvPromotionEntry::GetPrereqOrPromotion9() const931{932	return m_iPrereqOrPromotion9;933}

Called by