Bazaar developer reference

CvTechEntry::IsMapCentering() const

Defined in
CvTechClasses.cpp, line 394
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsMapCentering

Hooks

static bool BeforeCvTechEntry_IsMapCentering(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsMapCentering(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsMapCentering(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsMapCentering>(host, &BeforeCvTechEntry_IsMapCentering);CivRegisterAfter<CivHooks::CvTechEntry_IsMapCentering>(host, &AfterCvTechEntry_IsMapCentering);CivRegisterReplace<CivHooks::CvTechEntry_IsMapCentering>(host, &ReplaceCvTechEntry_IsMapCentering);

Code

393/// Does it center your mini-map in the overall world?394bool CvTechEntry::IsMapCentering() const395{396	return m_bMapCentering;397}

Called by