Bazaar developer reference

CvPromotionEntry::IsNoRevealMap() const

Defined in
CvPromotionClasses.cpp, line 1636
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsNoRevealMap

Hooks

static bool BeforeCvPromotionEntry_IsNoRevealMap(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsNoRevealMap(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsNoRevealMap(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsNoRevealMap>(host, &BeforeCvPromotionEntry_IsNoRevealMap);CivRegisterAfter<CivHooks::CvPromotionEntry_IsNoRevealMap>(host, &AfterCvPromotionEntry_IsNoRevealMap);CivRegisterReplace<CivHooks::CvPromotionEntry_IsNoRevealMap>(host, &ReplaceCvPromotionEntry_IsNoRevealMap);

Code

1635/// Accessor: Cannot reveal terrain unless it is inside a player's territory1636bool CvPromotionEntry::IsNoRevealMap() const1637{1638	return m_bNoRevealMap;1639}

Called by