Bazaar developer reference

CvEconomicAI::GetGoodyHutPlots()

Defined in
CvEconomicAI.cpp, line 961
Class
CvEconomicAI
Hook name
CivHooks::CvEconomicAI_GetGoodyHutPlots

Hooks

static bool BeforeCvEconomicAI_GetGoodyHutPlots(CvEconomicAI* self, FFastVector<int>*& result);static void AfterCvEconomicAI_GetGoodyHutPlots(CvEconomicAI* self, FFastVector<int>*& result);static FFastVector<int>& ReplaceCvEconomicAI_GetGoodyHutPlots(FFastVector<int>& (*original)(CvEconomicAI*), CvEconomicAI* self);CivRegisterBefore<CivHooks::CvEconomicAI_GetGoodyHutPlots>(host, &BeforeCvEconomicAI_GetGoodyHutPlots);CivRegisterAfter<CivHooks::CvEconomicAI_GetGoodyHutPlots>(host, &AfterCvEconomicAI_GetGoodyHutPlots);CivRegisterReplace<CivHooks::CvEconomicAI_GetGoodyHutPlots>(host, &ReplaceCvEconomicAI_GetGoodyHutPlots);

Code

961FFastVector<int>& CvEconomicAI::GetGoodyHutPlots()962{963	if(m_bExplorationPlotsDirty)964	{965		UpdatePlots();966	}967968	return m_aiGoodyHutPlots;969}

Calls

Called by