Bazaar developer reference

CvReligionAI::Read(FDataStream &)

Defined in
CvReligionClasses.cpp, line 5029
Class
CvReligionAI
Hook name
CivHooks::CvReligionAI_Read

Hooks

static bool BeforeCvReligionAI_Read(CvReligionAI* self, FDataStream& kStream);static void AfterCvReligionAI_Read(CvReligionAI* self, FDataStream& kStream);static void ReplaceCvReligionAI_Read(void (*original)(CvReligionAI*, FDataStream&), CvReligionAI* self, FDataStream& kStream);CivRegisterBefore<CivHooks::CvReligionAI_Read>(host, &BeforeCvReligionAI_Read);CivRegisterAfter<CivHooks::CvReligionAI_Read>(host, &AfterCvReligionAI_Read);CivRegisterReplace<CivHooks::CvReligionAI_Read>(host, &ReplaceCvReligionAI_Read);

Code

5028/// Serialization read5029void CvReligionAI::Read(FDataStream& kStream)5030{5031	// Version number to maintain backwards compatibility5032	uint uiVersion;5033	kStream >> uiVersion;5034	MOD_SERIALIZE_INIT_READ(kStream);5035}

Calls

Called by