CvFeatureInfo::IsNaturalWonder() const
- Defined in
- CvInfos.cpp, line 5064
- Class
- CvFeatureInfo
- Hook name
CivHooks::CvFeatureInfo_IsNaturalWonder
Hooks
static bool BeforeCvFeatureInfo_IsNaturalWonder(const CvFeatureInfo* self, bool& result);static void AfterCvFeatureInfo_IsNaturalWonder(const CvFeatureInfo* self, bool& result);static bool ReplaceCvFeatureInfo_IsNaturalWonder(bool (*original)(const CvFeatureInfo*), const CvFeatureInfo* self);CivRegisterBefore<CivHooks::CvFeatureInfo_IsNaturalWonder>(host, &BeforeCvFeatureInfo_IsNaturalWonder);CivRegisterAfter<CivHooks::CvFeatureInfo_IsNaturalWonder>(host, &AfterCvFeatureInfo_IsNaturalWonder);CivRegisterReplace<CivHooks::CvFeatureInfo_IsNaturalWonder>(host, &ReplaceCvFeatureInfo_IsNaturalWonder);
Code
5064bool CvFeatureInfo::IsNaturalWonder() const5065{5066 return m_bNaturalWonder;5067}
Called by
- CvCity::GetYieldPerTurnFromUnimprovedFeatures(YieldTypes) const
- CvCityCulture::GetCultureFromNaturalWonders() const
- CvDllFeatureInfo::IsNaturalWonder()
- CvMap::DoPlaceNaturalWonders()
- CvPlot::IsNaturalWonder() const
- CvPlot::calculateNatureYield(YieldTypes, TeamTypes, bool) const
- CvPlot::setFeatureType(FeatureTypes, int)
- CvPlot::setOwner(PlayerTypes, int, bool, bool)
- CvPlot::setRevealed(TeamTypes, bool, CvUnit *, bool, TeamTypes)
- CvUnit::setXY(int, int, bool, bool, bool, bool, bool)
- CvLeague::GetFeatureYieldChange(FeatureTypes, YieldTypes)
- CvWorldBuilderMapLoader::Save(const wchar_t *, const char *)