Bazaar developer reference

operator<<(FDataStream &, const CvActiveResolution &)

Defined in
CvVotingClasses.cpp, line 1670
Hook name
CivHooks::op_shl_with_FDataStream_const_CvActiveResolution

Hooks

static bool Beforeop_shl_with_FDataStream_const_CvActiveResolution(FDataStream& saveTo, const CvActiveResolution& readFrom, FDataStream*& result);static void Afterop_shl_with_FDataStream_const_CvActiveResolution(FDataStream& saveTo, const CvActiveResolution& readFrom, FDataStream*& result);static FDataStream& Replaceop_shl_with_FDataStream_const_CvActiveResolution(FDataStream& (*original)(FDataStream&, const CvActiveResolution&), FDataStream& saveTo, const CvActiveResolution& readFrom);CivRegisterBefore<CivHooks::op_shl_with_FDataStream_const_CvActiveResolution>(host, &Beforeop_shl_with_FDataStream_const_CvActiveResolution);CivRegisterAfter<CivHooks::op_shl_with_FDataStream_const_CvActiveResolution>(host, &Afterop_shl_with_FDataStream_const_CvActiveResolution);CivRegisterReplace<CivHooks::op_shl_with_FDataStream_const_CvActiveResolution>(host, &Replaceop_shl_with_FDataStream_const_CvActiveResolution);

Code

1669// Serialization Write1670FDataStream& operator<<(FDataStream& saveTo, const CvActiveResolution& readFrom)1671{1672	saveTo << (CvResolution&) readFrom;16731674	uint uiVersion = 2;16751676	saveTo << uiVersion;1677	MOD_SERIALIZE_INIT_WRITE(saveTo);1678	saveTo << readFrom.m_iTurnEnacted;16791680	return saveTo;1681}

Calls

Called by