Bazaar developer reference

CvPlayerCulture::AddDigCompletePlot(CvPlot *)

Defined in
CvCultureClasses.cpp, line 2032
Class
CvPlayerCulture
Hook name
CivHooks::CvPlayerCulture_AddDigCompletePlot

Hooks

static bool BeforeCvPlayerCulture_AddDigCompletePlot(CvPlayerCulture* self, CvPlot * pPlot);static void AfterCvPlayerCulture_AddDigCompletePlot(CvPlayerCulture* self, CvPlot * pPlot);static void ReplaceCvPlayerCulture_AddDigCompletePlot(void (*original)(CvPlayerCulture*, CvPlot *), CvPlayerCulture* self, CvPlot * pPlot);CivRegisterBefore<CivHooks::CvPlayerCulture_AddDigCompletePlot>(host, &BeforeCvPlayerCulture_AddDigCompletePlot);CivRegisterAfter<CivHooks::CvPlayerCulture_AddDigCompletePlot>(host, &AfterCvPlayerCulture_AddDigCompletePlot);CivRegisterReplace<CivHooks::CvPlayerCulture_AddDigCompletePlot>(host, &ReplaceCvPlayerCulture_AddDigCompletePlot);

Code

2031/// Add to the list of plots where we have archaeologists waiting for orders2032void CvPlayerCulture::AddDigCompletePlot(CvPlot *pPlot)2033{2034	m_aDigCompletePlots.push_back(pPlot);2035}

Calls

Called by