Bazaar developer reference

CvDealAI::Read(FDataStream &)

Defined in
CvDealAI.cpp, line 55
Class
CvDealAI
Hook name
CivHooks::CvDealAI_Read

Hooks

static bool BeforeCvDealAI_Read(CvDealAI* self, FDataStream& kStream);static void AfterCvDealAI_Read(CvDealAI* self, FDataStream& kStream);static void ReplaceCvDealAI_Read(void (*original)(CvDealAI*, FDataStream&), CvDealAI* self, FDataStream& kStream);CivRegisterBefore<CivHooks::CvDealAI_Read>(host, &BeforeCvDealAI_Read);CivRegisterAfter<CivHooks::CvDealAI_Read>(host, &AfterCvDealAI_Read);CivRegisterReplace<CivHooks::CvDealAI_Read>(host, &ReplaceCvDealAI_Read);

Code

54/// Serialization read55void CvDealAI::Read(FDataStream& kStream)56{57	// Version number to maintain backwards compatibility58	uint uiVersion;59	kStream >> uiVersion;60	MOD_SERIALIZE_INIT_READ(kStream);61}

Calls

Called by