Bazaar developer reference

CvPromotionEntry::IsGreatGeneral() const

Defined in
CvPromotionClasses.cpp, line 1202
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsGreatGeneral

Hooks

static bool BeforeCvPromotionEntry_IsGreatGeneral(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsGreatGeneral(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsGreatGeneral(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsGreatGeneral>(host, &BeforeCvPromotionEntry_IsGreatGeneral);CivRegisterAfter<CivHooks::CvPromotionEntry_IsGreatGeneral>(host, &AfterCvPromotionEntry_IsGreatGeneral);CivRegisterReplace<CivHooks::CvPromotionEntry_IsGreatGeneral>(host, &ReplaceCvPromotionEntry_IsGreatGeneral);

Code

1201/// Accessor: Does this Promotion make a Unit a Great General?1202bool CvPromotionEntry::IsGreatGeneral() const1203{1204	return m_bGreatGeneral;1205}

Called by