CvPlot::isBarbarian() const
- Defined in
- CvPlot.cpp, line 3489
- Class
- CvPlot
- Hook name
CivHooks::CvPlot_isBarbarian
Hooks
static bool BeforeCvPlot_isBarbarian(const CvPlot* self, bool& result);static void AfterCvPlot_isBarbarian(const CvPlot* self, bool& result);static bool ReplaceCvPlot_isBarbarian(bool (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_isBarbarian>(host, &BeforeCvPlot_isBarbarian);CivRegisterAfter<CivHooks::CvPlot_isBarbarian>(host, &AfterCvPlot_isBarbarian);CivRegisterReplace<CivHooks::CvPlot_isBarbarian>(host, &ReplaceCvPlot_isBarbarian);
Code
3489bool CvPlot::isBarbarian() const3490{3491 return (getOwner() == BARBARIAN_PLAYER);3492}