Bazaar developer reference

CvTechEntry::IsMapVisible() const

Defined in
CvTechClasses.cpp, line 400
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsMapVisible

Hooks

static bool BeforeCvTechEntry_IsMapVisible(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsMapVisible(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsMapVisible(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsMapVisible>(host, &BeforeCvTechEntry_IsMapVisible);CivRegisterAfter<CivHooks::CvTechEntry_IsMapVisible>(host, &AfterCvTechEntry_IsMapVisible);CivRegisterReplace<CivHooks::CvTechEntry_IsMapVisible>(host, &ReplaceCvTechEntry_IsMapVisible);

Code

399/// Does this tech reveal the entire map?400bool CvTechEntry::IsMapVisible() const401{402	return m_bMapVisible;403}

Called by