CvUnit::isNoRevealMap() const
- Defined in
- CvUnit.cpp, line 14729
- Class
- CvUnit
- Hook name
CivHooks::CvUnit_isNoRevealMap
Hooks
static bool BeforeCvUnit_isNoRevealMap(const CvUnit* self, bool& result);static void AfterCvUnit_isNoRevealMap(const CvUnit* self, bool& result);static bool ReplaceCvUnit_isNoRevealMap(bool (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_isNoRevealMap>(host, &BeforeCvUnit_isNoRevealMap);CivRegisterAfter<CivHooks::CvUnit_isNoRevealMap>(host, &AfterCvUnit_isNoRevealMap);CivRegisterReplace<CivHooks::CvUnit_isNoRevealMap>(host, &ReplaceCvUnit_isNoRevealMap);
Code
14729bool CvUnit::isNoRevealMap() const14730{14731 VALIDATE_OBJECT14732 return (getNoRevealMapCount() > 0);14733}