Bazaar developer reference

CvCity::IsAdjacentToFeature(FeatureTypes) const

Defined in
CvCity.cpp, line 17688
Class
CvCity
Hook name
CivHooks::CvCity_IsAdjacentToFeature

Hooks

static bool BeforeCvCity_IsAdjacentToFeature(const CvCity* self, FeatureTypes iFeatureType, bool& result);static void AfterCvCity_IsAdjacentToFeature(const CvCity* self, FeatureTypes iFeatureType, bool& result);static bool ReplaceCvCity_IsAdjacentToFeature(bool (*original)(const CvCity*, FeatureTypes), const CvCity* self, FeatureTypes iFeatureType);CivRegisterBefore<CivHooks::CvCity_IsAdjacentToFeature>(host, &BeforeCvCity_IsAdjacentToFeature);CivRegisterAfter<CivHooks::CvCity_IsAdjacentToFeature>(host, &AfterCvCity_IsAdjacentToFeature);CivRegisterReplace<CivHooks::CvCity_IsAdjacentToFeature>(host, &ReplaceCvCity_IsAdjacentToFeature);

Code

17688bool CvCity::IsAdjacentToFeature(FeatureTypes iFeatureType) const17689{17690	return plot()->IsAdjacentToFeature(iFeatureType);17691}

Calls

Called by