Bazaar developer reference

CvPlot::HasPlotType(PlotTypes) const

Defined in
CvPlot.cpp, line 11916
Class
CvPlot
Hook name
CivHooks::CvPlot_HasPlotType

Hooks

static bool BeforeCvPlot_HasPlotType(const CvPlot* self, PlotTypes iPlotType, bool& result);static void AfterCvPlot_HasPlotType(const CvPlot* self, PlotTypes iPlotType, bool& result);static bool ReplaceCvPlot_HasPlotType(bool (*original)(const CvPlot*, PlotTypes), const CvPlot* self, PlotTypes iPlotType);CivRegisterBefore<CivHooks::CvPlot_HasPlotType>(host, &BeforeCvPlot_HasPlotType);CivRegisterAfter<CivHooks::CvPlot_HasPlotType>(host, &AfterCvPlot_HasPlotType);CivRegisterReplace<CivHooks::CvPlot_HasPlotType>(host, &ReplaceCvPlot_HasPlotType);

Code

11916bool CvPlot::HasPlotType(PlotTypes iPlotType) const11917{11918	return (getPlotType() == iPlotType);11919}

Calls

Called by