Bazaar developer reference

CvPlot::IsNoSettling(PlayerTypes) const

Defined in
CvPlot.cpp, line 9113
Class
CvPlot
Hook name
CivHooks::CvPlot_IsNoSettling

Hooks

static bool BeforeCvPlot_IsNoSettling(const CvPlot* self, PlayerTypes eMajor, bool& result);static void AfterCvPlot_IsNoSettling(const CvPlot* self, PlayerTypes eMajor, bool& result);static bool ReplaceCvPlot_IsNoSettling(bool (*original)(const CvPlot*, PlayerTypes), const CvPlot* self, PlayerTypes eMajor);CivRegisterBefore<CivHooks::CvPlot_IsNoSettling>(host, &BeforeCvPlot_IsNoSettling);CivRegisterAfter<CivHooks::CvPlot_IsNoSettling>(host, &AfterCvPlot_IsNoSettling);CivRegisterReplace<CivHooks::CvPlot_IsNoSettling>(host, &ReplaceCvPlot_IsNoSettling);

Code

9113bool CvPlot::IsNoSettling(PlayerTypes eMajor) const9114{9115	CvAssertMsg(eMajor >= 0, "eMajor is expected to be non-negative (invalid Index)");9116	CvAssertMsg(eMajor < MAX_MAJOR_CIVS, "eMajor is expected to be within maximum bounds (invalid Index)");91179118	return m_abNoSettling[eMajor];9119}

Called by