Bazaar developer reference

CvPromotionEntry::IsRecon() const

Defined in
CvPromotionClasses.cpp, line 1642
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsRecon

Hooks

static bool BeforeCvPromotionEntry_IsRecon(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsRecon(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsRecon(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsRecon>(host, &BeforeCvPromotionEntry_IsRecon);CivRegisterAfter<CivHooks::CvPromotionEntry_IsRecon>(host, &AfterCvPromotionEntry_IsRecon);CivRegisterReplace<CivHooks::CvPromotionEntry_IsRecon>(host, &ReplaceCvPromotionEntry_IsRecon);

Code

1641/// Accessor: Is this a Recon unit? (free sight all around it)1642bool CvPromotionEntry::IsRecon() const1643{1644	return m_bRecon;1645}

Called by