Bazaar developer reference

CvCity::GetCheapestPlotInfluence() const

Defined in
CvCity.cpp, line 12735
Class
CvCity
Hook name
CivHooks::CvCity_GetCheapestPlotInfluence

Hooks

static bool BeforeCvCity_GetCheapestPlotInfluence(const CvCity* self, int& result);static void AfterCvCity_GetCheapestPlotInfluence(const CvCity* self, int& result);static int ReplaceCvCity_GetCheapestPlotInfluence(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_GetCheapestPlotInfluence>(host, &BeforeCvCity_GetCheapestPlotInfluence);CivRegisterAfter<CivHooks::CvCity_GetCheapestPlotInfluence>(host, &AfterCvCity_GetCheapestPlotInfluence);CivRegisterReplace<CivHooks::CvCity_GetCheapestPlotInfluence>(host, &ReplaceCvCity_GetCheapestPlotInfluence);

Code

12734/// What is the cheapest plot we can get12735int CvCity::GetCheapestPlotInfluence() const12736{12737	return m_iCheapestPlotInfluence;12738}

Calls

Called by