Bazaar developer reference

CvPromotionEntry::IsLostWithUpgrade() const

Defined in
CvPromotionClasses.cpp, line 1412
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsLostWithUpgrade

Hooks

static bool BeforeCvPromotionEntry_IsLostWithUpgrade(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsLostWithUpgrade(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsLostWithUpgrade(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsLostWithUpgrade>(host, &BeforeCvPromotionEntry_IsLostWithUpgrade);CivRegisterAfter<CivHooks::CvPromotionEntry_IsLostWithUpgrade>(host, &AfterCvPromotionEntry_IsLostWithUpgrade);CivRegisterReplace<CivHooks::CvPromotionEntry_IsLostWithUpgrade>(host, &ReplaceCvPromotionEntry_IsLostWithUpgrade);

Code

1411/// Accessor: Is this lost with upgrading?1412bool CvPromotionEntry::IsLostWithUpgrade() const1413{1414	return m_bLostWithUpgrade;1415}

Called by