Bazaar developer reference

CvEmphasisEntry::IsGreatPeople() const

Defined in
CvEmphasisClasses.cpp, line 51
Class
CvEmphasisEntry
Hook name
CivHooks::CvEmphasisEntry_IsGreatPeople

Hooks

static bool BeforeCvEmphasisEntry_IsGreatPeople(const CvEmphasisEntry* self, bool& result);static void AfterCvEmphasisEntry_IsGreatPeople(const CvEmphasisEntry* self, bool& result);static bool ReplaceCvEmphasisEntry_IsGreatPeople(bool (*original)(const CvEmphasisEntry*), const CvEmphasisEntry* self);CivRegisterBefore<CivHooks::CvEmphasisEntry_IsGreatPeople>(host, &BeforeCvEmphasisEntry_IsGreatPeople);CivRegisterAfter<CivHooks::CvEmphasisEntry_IsGreatPeople>(host, &AfterCvEmphasisEntry_IsGreatPeople);CivRegisterReplace<CivHooks::CvEmphasisEntry_IsGreatPeople>(host, &ReplaceCvEmphasisEntry_IsGreatPeople);

Code

50// Is this type of emphasis to promote development of great people51bool CvEmphasisEntry::IsGreatPeople() const52{53	return m_bGreatPeople;54}

Called by