Bazaar developer reference

operator<<(FDataStream &, const YieldTypes &)

Defined in
CvGameCoreEnumSerialization.cpp, line 11
Hook name
CivHooks::op_shl_with_FDataStream_const_YieldTypes

Hooks

static bool Beforeop_shl_with_FDataStream_const_YieldTypes(FDataStream& saveTo, const YieldTypes& readFrom, FDataStream*& result);static void Afterop_shl_with_FDataStream_const_YieldTypes(FDataStream& saveTo, const YieldTypes& readFrom, FDataStream*& result);static FDataStream& Replaceop_shl_with_FDataStream_const_YieldTypes(FDataStream& (*original)(FDataStream&, const YieldTypes&), FDataStream& saveTo, const YieldTypes& readFrom);CivRegisterBefore<CivHooks::op_shl_with_FDataStream_const_YieldTypes>(host, &Beforeop_shl_with_FDataStream_const_YieldTypes);CivRegisterAfter<CivHooks::op_shl_with_FDataStream_const_YieldTypes>(host, &Afterop_shl_with_FDataStream_const_YieldTypes);CivRegisterReplace<CivHooks::op_shl_with_FDataStream_const_YieldTypes>(host, &Replaceop_shl_with_FDataStream_const_YieldTypes);

Code

11FDataStream& operator<<(FDataStream& saveTo, const YieldTypes& readFrom)12{13	saveTo << static_cast<int>(readFrom);14	return saveTo;15}

Calls

Called by