Bazaar developer reference

CvTerrainInfo::isFoundFreshWater() const

Defined in
CvInfos.cpp, line 5511
Class
CvTerrainInfo
Hook name
CivHooks::CvTerrainInfo_isFoundFreshWater

Hooks

static bool BeforeCvTerrainInfo_isFoundFreshWater(const CvTerrainInfo* self, bool& result);static void AfterCvTerrainInfo_isFoundFreshWater(const CvTerrainInfo* self, bool& result);static bool ReplaceCvTerrainInfo_isFoundFreshWater(bool (*original)(const CvTerrainInfo*), const CvTerrainInfo* self);CivRegisterBefore<CivHooks::CvTerrainInfo_isFoundFreshWater>(host, &BeforeCvTerrainInfo_isFoundFreshWater);CivRegisterAfter<CivHooks::CvTerrainInfo_isFoundFreshWater>(host, &AfterCvTerrainInfo_isFoundFreshWater);CivRegisterReplace<CivHooks::CvTerrainInfo_isFoundFreshWater>(host, &ReplaceCvTerrainInfo_isFoundFreshWater);

Code

5511bool CvTerrainInfo::isFoundFreshWater() const5512{5513	return m_bFoundFreshWater;5514}

Called by