Bazaar developer reference

CvPlot::HasWrittenArtifact() const

Defined in
CvPlot.cpp, line 11838
Class
CvPlot
Hook name
CivHooks::CvPlot_HasWrittenArtifact

Hooks

static bool BeforeCvPlot_HasWrittenArtifact(const CvPlot* self, bool& result);static void AfterCvPlot_HasWrittenArtifact(const CvPlot* self, bool& result);static bool ReplaceCvPlot_HasWrittenArtifact(bool (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_HasWrittenArtifact>(host, &BeforeCvPlot_HasWrittenArtifact);CivRegisterAfter<CivHooks::CvPlot_HasWrittenArtifact>(host, &AfterCvPlot_HasWrittenArtifact);CivRegisterReplace<CivHooks::CvPlot_HasWrittenArtifact>(host, &ReplaceCvPlot_HasWrittenArtifact);

Code

11838bool CvPlot::HasWrittenArtifact() const11839{11840	bool bRtnValue = false;11841	GreatWorkArtifactClass eArtifactClass = m_kArchaeologyData.m_eArtifactType;11842	if (eArtifactClass == CvTypes::getARTIFACT_WRITING())11843	{11844		bRtnValue = true;11845	}11846	return bRtnValue;11847}

Calls

Called by