Bazaar developer reference

CvPolicyEntry::GetPlotGoldCostMod() const

Defined in
CvPolicyClasses.cpp, line 1288
Class
CvPolicyEntry
Hook name
CivHooks::CvPolicyEntry_GetPlotGoldCostMod

Hooks

static bool BeforeCvPolicyEntry_GetPlotGoldCostMod(const CvPolicyEntry* self, int& result);static void AfterCvPolicyEntry_GetPlotGoldCostMod(const CvPolicyEntry* self, int& result);static int ReplaceCvPolicyEntry_GetPlotGoldCostMod(int (*original)(const CvPolicyEntry*), const CvPolicyEntry* self);CivRegisterBefore<CivHooks::CvPolicyEntry_GetPlotGoldCostMod>(host, &BeforeCvPolicyEntry_GetPlotGoldCostMod);CivRegisterAfter<CivHooks::CvPolicyEntry_GetPlotGoldCostMod>(host, &AfterCvPolicyEntry_GetPlotGoldCostMod);CivRegisterReplace<CivHooks::CvPolicyEntry_GetPlotGoldCostMod>(host, &ReplaceCvPolicyEntry_GetPlotGoldCostMod);

Code

1287/// How much less does Plot buying cost1288int CvPolicyEntry::GetPlotGoldCostMod() const1289{1290	return m_iPlotGoldCostMod;1291}

Called by