Bazaar developer reference

CvPromotionEntry::ArePostCombatPromotionsExclusive() const

Defined in
CvPromotionClasses.cpp, line 1752
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_ArePostCombatPromotionsExclusive

Hooks

static bool BeforeCvPromotionEntry_ArePostCombatPromotionsExclusive(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_ArePostCombatPromotionsExclusive(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_ArePostCombatPromotionsExclusive(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_ArePostCombatPromotionsExclusive>(host, &BeforeCvPromotionEntry_ArePostCombatPromotionsExclusive);CivRegisterAfter<CivHooks::CvPromotionEntry_ArePostCombatPromotionsExclusive>(host, &AfterCvPromotionEntry_ArePostCombatPromotionsExclusive);CivRegisterReplace<CivHooks::CvPromotionEntry_ArePostCombatPromotionsExclusive>(host, &ReplaceCvPromotionEntry_ArePostCombatPromotionsExclusive);

Code

1751/// Accessor: Do we have to pick a post-combat promotion that hasn't been used yet?1752bool CvPromotionEntry::ArePostCombatPromotionsExclusive() const1753{1754	return m_bPostCombatPromotionsExclusive;1755}

Called by