CvPlot::isUnit() const
- Defined in
- CvPlot.cpp, line 3885
- Class
- CvPlot
- Hook name
CivHooks::CvPlot_isUnit
Hooks
static bool BeforeCvPlot_isUnit(const CvPlot* self, bool& result);static void AfterCvPlot_isUnit(const CvPlot* self, bool& result);static bool ReplaceCvPlot_isUnit(bool (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_isUnit>(host, &BeforeCvPlot_isUnit);CivRegisterAfter<CivHooks::CvPlot_isUnit>(host, &AfterCvPlot_isUnit);CivRegisterReplace<CivHooks::CvPlot_isUnit>(host, &ReplaceCvPlot_isUnit);
Code
3885bool CvPlot::isUnit() const3886{3887 return (getNumUnits() > 0);3888}