Bazaar developer reference

CvCity::IsAdjacentToPlotType(PlotTypes) const

Defined in
CvCity.cpp, line 17718
Class
CvCity
Hook name
CivHooks::CvCity_IsAdjacentToPlotType

Hooks

static bool BeforeCvCity_IsAdjacentToPlotType(const CvCity* self, PlotTypes iPlotType, bool& result);static void AfterCvCity_IsAdjacentToPlotType(const CvCity* self, PlotTypes iPlotType, bool& result);static bool ReplaceCvCity_IsAdjacentToPlotType(bool (*original)(const CvCity*, PlotTypes), const CvCity* self, PlotTypes iPlotType);CivRegisterBefore<CivHooks::CvCity_IsAdjacentToPlotType>(host, &BeforeCvCity_IsAdjacentToPlotType);CivRegisterAfter<CivHooks::CvCity_IsAdjacentToPlotType>(host, &AfterCvCity_IsAdjacentToPlotType);CivRegisterReplace<CivHooks::CvCity_IsAdjacentToPlotType>(host, &ReplaceCvCity_IsAdjacentToPlotType);

Code

17718bool CvCity::IsAdjacentToPlotType(PlotTypes iPlotType) const17719{17720	return plot()->IsAdjacentToPlotType(iPlotType);17721}

Calls

Called by