Bazaar developer reference

CvPromotionEntry::IsNoCapture() const

Defined in
CvPromotionClasses.cpp, line 1600
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsNoCapture

Hooks

static bool BeforeCvPromotionEntry_IsNoCapture(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsNoCapture(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsNoCapture(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsNoCapture>(host, &BeforeCvPromotionEntry_IsNoCapture);CivRegisterAfter<CivHooks::CvPromotionEntry_IsNoCapture>(host, &AfterCvPromotionEntry_IsNoCapture);CivRegisterReplace<CivHooks::CvPromotionEntry_IsNoCapture>(host, &ReplaceCvPromotionEntry_IsNoCapture);

Code

1599/// Accessor: Unable to capture cities1600bool CvPromotionEntry::IsNoCapture() const1601{1602	return m_bNoCapture;1603}

Called by