Bazaar developer reference

CvPlot::isOwned() const

Defined in
CvPlot.cpp, line 3482
Class
CvPlot
Hook name
CivHooks::CvPlot_isOwned

Hooks

static bool BeforeCvPlot_isOwned(const CvPlot* self, bool& result);static void AfterCvPlot_isOwned(const CvPlot* self, bool& result);static bool ReplaceCvPlot_isOwned(bool (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_isOwned>(host, &BeforeCvPlot_isOwned);CivRegisterAfter<CivHooks::CvPlot_isOwned>(host, &AfterCvPlot_isOwned);CivRegisterReplace<CivHooks::CvPlot_isOwned>(host, &ReplaceCvPlot_isOwned);

Code

3482bool CvPlot::isOwned() const3483{3484	return (getOwner() != NO_PLAYER);3485}

Calls

Called by

39 functions in 16 files