Bazaar developer reference

CvPlot::HasBarbarianCamp()

Defined in
CvPlot.cpp, line 3502
Class
CvPlot
Hook name
CivHooks::CvPlot_HasBarbarianCamp

Hooks

static bool BeforeCvPlot_HasBarbarianCamp(CvPlot* self, bool& result);static void AfterCvPlot_HasBarbarianCamp(CvPlot* self, bool& result);static bool ReplaceCvPlot_HasBarbarianCamp(bool (*original)(CvPlot*), CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_HasBarbarianCamp>(host, &BeforeCvPlot_HasBarbarianCamp);CivRegisterAfter<CivHooks::CvPlot_HasBarbarianCamp>(host, &AfterCvPlot_HasBarbarianCamp);CivRegisterReplace<CivHooks::CvPlot_HasBarbarianCamp>(host, &ReplaceCvPlot_HasBarbarianCamp);

Code

3502bool CvPlot::HasBarbarianCamp()3503{3504	return (getImprovementType() == GC.getBARBARIAN_CAMP_IMPROVEMENT());3505}

Calls

Called by