Bazaar developer reference

CvPlot::SetArtifactType(GreatWorkArtifactClass)

Defined in
CvPlot.cpp, line 11826
Class
CvPlot
Hook name
CivHooks::CvPlot_SetArtifactType

Hooks

static bool BeforeCvPlot_SetArtifactType(CvPlot* self, GreatWorkArtifactClass eType);static void AfterCvPlot_SetArtifactType(CvPlot* self, GreatWorkArtifactClass eType);static void ReplaceCvPlot_SetArtifactType(void (*original)(CvPlot*, GreatWorkArtifactClass), CvPlot* self, GreatWorkArtifactClass eType);CivRegisterBefore<CivHooks::CvPlot_SetArtifactType>(host, &BeforeCvPlot_SetArtifactType);CivRegisterAfter<CivHooks::CvPlot_SetArtifactType>(host, &AfterCvPlot_SetArtifactType);CivRegisterReplace<CivHooks::CvPlot_SetArtifactType>(host, &ReplaceCvPlot_SetArtifactType);

Code

11826void CvPlot::SetArtifactType(GreatWorkArtifactClass eType)11827{11828	m_kArchaeologyData.m_eArtifactType = eType;11829}

Called by