Bazaar developer reference

CvBeliefEntry::GetPlotCultureCostModifier() const

Defined in
CvBeliefClasses.cpp, line 200
Class
CvBeliefEntry
Hook name
CivHooks::CvBeliefEntry_GetPlotCultureCostModifier

Hooks

static bool BeforeCvBeliefEntry_GetPlotCultureCostModifier(const CvBeliefEntry* self, int& result);static void AfterCvBeliefEntry_GetPlotCultureCostModifier(const CvBeliefEntry* self, int& result);static int ReplaceCvBeliefEntry_GetPlotCultureCostModifier(int (*original)(const CvBeliefEntry*), const CvBeliefEntry* self);CivRegisterBefore<CivHooks::CvBeliefEntry_GetPlotCultureCostModifier>(host, &BeforeCvBeliefEntry_GetPlotCultureCostModifier);CivRegisterAfter<CivHooks::CvBeliefEntry_GetPlotCultureCostModifier>(host, &AfterCvBeliefEntry_GetPlotCultureCostModifier);CivRegisterReplace<CivHooks::CvBeliefEntry_GetPlotCultureCostModifier>(host, &ReplaceCvBeliefEntry_GetPlotCultureCostModifier);

Code

199/// Accessor:: Boost in speed of acquiring tiles through culture200int CvBeliefEntry::GetPlotCultureCostModifier() const201{202	return m_iPlotCultureCostModifier;203}

Called by