Bazaar developer reference

CvPlayer::GetPlots()

Defined in
CvPlayer.cpp, line 26400
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetPlots

Hooks

static bool BeforeCvPlayer_GetPlots(CvPlayer* self, CvPlotsVector*& result);static void AfterCvPlayer_GetPlots(CvPlayer* self, CvPlotsVector*& result);static CvPlotsVector& ReplaceCvPlayer_GetPlots(CvPlotsVector& (*original)(CvPlayer*), CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetPlots>(host, &BeforeCvPlayer_GetPlots);CivRegisterAfter<CivHooks::CvPlayer_GetPlots>(host, &AfterCvPlayer_GetPlots);CivRegisterReplace<CivHooks::CvPlayer_GetPlots>(host, &ReplaceCvPlayer_GetPlots);

Code

26399/// Returns the list of the plots the player owns26400CvPlotsVector& CvPlayer::GetPlots(void)26401{26402	return m_aiPlots;26403}

Called by