Bazaar developer reference

CvPromotionEntry::SetPrereqOrPromotion9(int)

Defined in
CvPromotionClasses.cpp, line 936
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_SetPrereqOrPromotion9

Hooks

static bool BeforeCvPromotionEntry_SetPrereqOrPromotion9(CvPromotionEntry* self, int i);static void AfterCvPromotionEntry_SetPrereqOrPromotion9(CvPromotionEntry* self, int i);static void ReplaceCvPromotionEntry_SetPrereqOrPromotion9(void (*original)(CvPromotionEntry*, int), CvPromotionEntry* self, int i);CivRegisterBefore<CivHooks::CvPromotionEntry_SetPrereqOrPromotion9>(host, &BeforeCvPromotionEntry_SetPrereqOrPromotion9);CivRegisterAfter<CivHooks::CvPromotionEntry_SetPrereqOrPromotion9>(host, &AfterCvPromotionEntry_SetPrereqOrPromotion9);CivRegisterReplace<CivHooks::CvPromotionEntry_SetPrereqOrPromotion9>(host, &ReplaceCvPromotionEntry_SetPrereqOrPromotion9);

Code

935/// Accessor: Sets promotion 9 of an either/or promotion prerequisite.936void CvPromotionEntry::SetPrereqOrPromotion9(int i)937{938	m_iPrereqOrPromotion9 = i;939}