Bazaar developer reference

CvPlot::isActiveVisible(bool) const

Defined in
CvPlot.cpp, line 3508
Class
CvPlot
Hook name
CivHooks::CvPlot_isActiveVisible

Hooks

static bool BeforeCvPlot_isActiveVisible(const CvPlot* self, bool bDebug, bool& result);static void AfterCvPlot_isActiveVisible(const CvPlot* self, bool bDebug, bool& result);static bool ReplaceCvPlot_isActiveVisible(bool (*original)(const CvPlot*, bool), const CvPlot* self, bool bDebug);CivRegisterBefore<CivHooks::CvPlot_isActiveVisible>(host, &BeforeCvPlot_isActiveVisible);CivRegisterAfter<CivHooks::CvPlot_isActiveVisible>(host, &AfterCvPlot_isActiveVisible);CivRegisterReplace<CivHooks::CvPlot_isActiveVisible>(host, &ReplaceCvPlot_isActiveVisible);

Code

3508bool CvPlot::isActiveVisible(bool bDebug) const3509{3510	return isVisible(GC.getGame().getActiveTeam(), bDebug);3511}

Calls

Called by