Bazaar developer reference

CvPlot::isFlatlands() const

Defined in
CvPlot.cpp, line 5929
Class
CvPlot
Hook name
CivHooks::CvPlot_isFlatlands

Hooks

static bool BeforeCvPlot_isFlatlands(const CvPlot* self, bool& result);static void AfterCvPlot_isFlatlands(const CvPlot* self, bool& result);static bool ReplaceCvPlot_isFlatlands(bool (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_isFlatlands>(host, &BeforeCvPlot_isFlatlands);CivRegisterAfter<CivHooks::CvPlot_isFlatlands>(host, &AfterCvPlot_isFlatlands);CivRegisterReplace<CivHooks::CvPlot_isFlatlands>(host, &ReplaceCvPlot_isFlatlands);

Code

5929bool CvPlot::isFlatlands() const5930{5931	return (getPlotType() == PLOT_LAND);5932}

Calls

Called by