Bazaar developer reference

CvPlot::isRevealedBarbarian() const

Defined in
CvPlot.cpp, line 3496
Class
CvPlot
Hook name
CivHooks::CvPlot_isRevealedBarbarian

Hooks

static bool BeforeCvPlot_isRevealedBarbarian(const CvPlot* self, bool& result);static void AfterCvPlot_isRevealedBarbarian(const CvPlot* self, bool& result);static bool ReplaceCvPlot_isRevealedBarbarian(bool (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_isRevealedBarbarian>(host, &BeforeCvPlot_isRevealedBarbarian);CivRegisterAfter<CivHooks::CvPlot_isRevealedBarbarian>(host, &AfterCvPlot_isRevealedBarbarian);CivRegisterReplace<CivHooks::CvPlot_isRevealedBarbarian>(host, &ReplaceCvPlot_isRevealedBarbarian);

Code

3496bool CvPlot::isRevealedBarbarian() const3497{3498	return (getRevealedOwner(GC.getGame().getActiveTeam(), true) == BARBARIAN_PLAYER);3499}

Calls

Called by