Bazaar developer reference

CvCity::IsOnPlotType(PlotTypes) const

Defined in
CvCity.cpp, line 17713
Class
CvCity
Hook name
CivHooks::CvCity_IsOnPlotType

Hooks

static bool BeforeCvCity_IsOnPlotType(const CvCity* self, PlotTypes iPlotType, bool& result);static void AfterCvCity_IsOnPlotType(const CvCity* self, PlotTypes iPlotType, bool& result);static bool ReplaceCvCity_IsOnPlotType(bool (*original)(const CvCity*, PlotTypes), const CvCity* self, PlotTypes iPlotType);CivRegisterBefore<CivHooks::CvCity_IsOnPlotType>(host, &BeforeCvCity_IsOnPlotType);CivRegisterAfter<CivHooks::CvCity_IsOnPlotType>(host, &AfterCvCity_IsOnPlotType);CivRegisterReplace<CivHooks::CvCity_IsOnPlotType>(host, &ReplaceCvCity_IsOnPlotType);

Code

17713bool CvCity::IsOnPlotType(PlotTypes iPlotType) const17714{17715	return plot()->HasPlotType(iPlotType);17716}

Calls

Called by