Bazaar developer reference

CvEmphasisEntry::IsAvoidGrowth() const

Defined in
CvEmphasisClasses.cpp, line 46
Class
CvEmphasisEntry
Hook name
CivHooks::CvEmphasisEntry_IsAvoidGrowth

Hooks

static bool BeforeCvEmphasisEntry_IsAvoidGrowth(const CvEmphasisEntry* self, bool& result);static void AfterCvEmphasisEntry_IsAvoidGrowth(const CvEmphasisEntry* self, bool& result);static bool ReplaceCvEmphasisEntry_IsAvoidGrowth(bool (*original)(const CvEmphasisEntry*), const CvEmphasisEntry* self);CivRegisterBefore<CivHooks::CvEmphasisEntry_IsAvoidGrowth>(host, &BeforeCvEmphasisEntry_IsAvoidGrowth);CivRegisterAfter<CivHooks::CvEmphasisEntry_IsAvoidGrowth>(host, &AfterCvEmphasisEntry_IsAvoidGrowth);CivRegisterReplace<CivHooks::CvEmphasisEntry_IsAvoidGrowth>(host, &ReplaceCvEmphasisEntry_IsAvoidGrowth);

Code

45/// Does this type of emphasis mean we shouldn't let the city grow?46bool CvEmphasisEntry::IsAvoidGrowth() const47{48	return m_bAvoidGrowth;49}

Called by