Bazaar developer reference

operator<<(FDataStream &, const CvEventLog::EventLogEntry &)

Defined in
CvEventLog.cpp, line 27
Hook name
CivHooks::op_shl_with_FDataStream_const_CvEventLog_EventLogEntry

Hooks

static bool Beforeop_shl_with_FDataStream_const_CvEventLog_EventLogEntry(FDataStream& saveTo, const CvEventLog::EventLogEntry& readFrom, FDataStream*& result);static void Afterop_shl_with_FDataStream_const_CvEventLog_EventLogEntry(FDataStream& saveTo, const CvEventLog::EventLogEntry& readFrom, FDataStream*& result);static FDataStream& Replaceop_shl_with_FDataStream_const_CvEventLog_EventLogEntry(FDataStream& (*original)(FDataStream&, const CvEventLog::EventLogEntry&), FDataStream& saveTo, const CvEventLog::EventLogEntry& readFrom);CivRegisterBefore<CivHooks::op_shl_with_FDataStream_const_CvEventLog_EventLogEntry>(host, &Beforeop_shl_with_FDataStream_const_CvEventLog_EventLogEntry);CivRegisterAfter<CivHooks::op_shl_with_FDataStream_const_CvEventLog_EventLogEntry>(host, &Afterop_shl_with_FDataStream_const_CvEventLog_EventLogEntry);CivRegisterReplace<CivHooks::op_shl_with_FDataStream_const_CvEventLog_EventLogEntry>(host, &Replaceop_shl_with_FDataStream_const_CvEventLog_EventLogEntry);

Code

26/// Serialization write27FDataStream& operator<<(FDataStream& saveTo, const CvEventLog::EventLogEntry& readFrom)28{29	MOD_SERIALIZE_INIT_WRITE(saveTo);3031	saveTo << readFrom.m_iTurn;32	saveTo << readFrom.m_strMessage;33	saveTo << readFrom.m_eOtherPlayer;34	saveTo << readFrom.m_iX;35	saveTo << readFrom.m_iY;36	saveTo << readFrom.m_iData1;37	saveTo << readFrom.m_iData2;38	saveTo << readFrom.m_iData3;39	saveTo << readFrom.m_iData4;4041	return saveTo;42}

Calls

Called by