Bazaar developer reference

CvPlayer::getStartingPlot() const

Defined in
CvPlayer.cpp, line 10168
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getStartingPlot

Hooks

static bool BeforeCvPlayer_getStartingPlot(const CvPlayer* self, CvPlot*& result);static void AfterCvPlayer_getStartingPlot(const CvPlayer* self, CvPlot*& result);static CvPlot* ReplaceCvPlayer_getStartingPlot(CvPlot* (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getStartingPlot>(host, &BeforeCvPlayer_getStartingPlot);CivRegisterAfter<CivHooks::CvPlayer_getStartingPlot>(host, &AfterCvPlayer_getStartingPlot);CivRegisterReplace<CivHooks::CvPlayer_getStartingPlot>(host, &ReplaceCvPlayer_getStartingPlot);

Code

10168CvPlot* CvPlayer::getStartingPlot() const10169{10170	return GC.getMap().plotCheckInvalid(m_iStartingX, m_iStartingY);10171}

Calls

Called by