Bazaar developer reference

CvPlayer::GetPlotCultureCostModifier() const

Defined in
CvPlayer.cpp, line 26641
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetPlotCultureCostModifier

Hooks

static bool BeforeCvPlayer_GetPlotCultureCostModifier(const CvPlayer* self, int& result);static void AfterCvPlayer_GetPlotCultureCostModifier(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetPlotCultureCostModifier(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetPlotCultureCostModifier>(host, &BeforeCvPlayer_GetPlotCultureCostModifier);CivRegisterAfter<CivHooks::CvPlayer_GetPlotCultureCostModifier>(host, &AfterCvPlayer_GetPlotCultureCostModifier);CivRegisterReplace<CivHooks::CvPlayer_GetPlotCultureCostModifier>(host, &ReplaceCvPlayer_GetPlotCultureCostModifier);

Code

26640/// How much Culture is required for this City to acquire a new Plot26641int CvPlayer::GetPlotCultureCostModifier() const26642{26643	return m_iPlotCultureCostModifier;26644}

Calls

Called by