Bazaar developer reference

CvPlayer::GetNumPlotsBought() const

Defined in
CvPlayer.cpp, line 26514
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetNumPlotsBought

Hooks

static bool BeforeCvPlayer_GetNumPlotsBought(const CvPlayer* self, int& result);static void AfterCvPlayer_GetNumPlotsBought(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetNumPlotsBought(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetNumPlotsBought>(host, &BeforeCvPlayer_GetNumPlotsBought);CivRegisterAfter<CivHooks::CvPlayer_GetNumPlotsBought>(host, &AfterCvPlayer_GetNumPlotsBought);CivRegisterReplace<CivHooks::CvPlayer_GetNumPlotsBought>(host, &ReplaceCvPlayer_GetNumPlotsBought);

Code

26513/// How many Plot has this player bought (costs should ramp up as more are purchased)26514int CvPlayer::GetNumPlotsBought() const26515{26516	return m_iNumPlotsBought;26517}

Calls

Called by