Bazaar developer reference

CvPlayer::GetPlotGoldCostMod() const

Defined in
CvPlayer.cpp, line 26562
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetPlotGoldCostMod

Hooks

static bool BeforeCvPlayer_GetPlotGoldCostMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetPlotGoldCostMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetPlotGoldCostMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetPlotGoldCostMod>(host, &BeforeCvPlayer_GetPlotGoldCostMod);CivRegisterAfter<CivHooks::CvPlayer_GetPlotGoldCostMod>(host, &AfterCvPlayer_GetPlotGoldCostMod);CivRegisterReplace<CivHooks::CvPlayer_GetPlotGoldCostMod>(host, &ReplaceCvPlayer_GetPlotGoldCostMod);

Code

26561/// How much of a discount do we have for Plot buying26562int CvPlayer::GetPlotGoldCostMod() const26563{26564	return m_iPlotGoldCostMod;26565}

Calls

Called by