Bazaar developer reference

CvCity::at(CvPlot *) const

Defined in
CvCity.cpp, line 7679
Class
CvCity
Hook name
CivHooks::CvCity_at_with_CvPlot_const

Hooks

static bool BeforeCvCity_at_with_CvPlot_const(const CvCity* self, CvPlot* pPlot, bool& result);static void AfterCvCity_at_with_CvPlot_const(const CvCity* self, CvPlot* pPlot, bool& result);static bool ReplaceCvCity_at_with_CvPlot_const(bool (*original)(const CvCity*, CvPlot*), const CvCity* self, CvPlot* pPlot);CivRegisterBefore<CivHooks::CvCity_at_with_CvPlot_const>(host, &BeforeCvCity_at_with_CvPlot_const);CivRegisterAfter<CivHooks::CvCity_at_with_CvPlot_const>(host, &AfterCvCity_at_with_CvPlot_const);CivRegisterReplace<CivHooks::CvCity_at_with_CvPlot_const>(host, &ReplaceCvCity_at_with_CvPlot_const);

Code

7679bool CvCity::at(CvPlot* pPlot) const7680{7681	VALIDATE_OBJECT7682	return (plot() == pPlot);7683}

Calls

Called by