Bazaar developer reference

operator>>(FDataStream &, YieldTypes &)

Defined in
CvGameCoreEnumSerialization.cpp, line 17
Hook name
CivHooks::op_shr_with_FDataStream_YieldTypes

Hooks

static bool Beforeop_shr_with_FDataStream_YieldTypes(FDataStream& loadFrom, YieldTypes& writeTo, FDataStream*& result);static void Afterop_shr_with_FDataStream_YieldTypes(FDataStream& loadFrom, YieldTypes& writeTo, FDataStream*& result);static FDataStream& Replaceop_shr_with_FDataStream_YieldTypes(FDataStream& (*original)(FDataStream&, YieldTypes&), FDataStream& loadFrom, YieldTypes& writeTo);CivRegisterBefore<CivHooks::op_shr_with_FDataStream_YieldTypes>(host, &Beforeop_shr_with_FDataStream_YieldTypes);CivRegisterAfter<CivHooks::op_shr_with_FDataStream_YieldTypes>(host, &Afterop_shr_with_FDataStream_YieldTypes);CivRegisterReplace<CivHooks::op_shr_with_FDataStream_YieldTypes>(host, &Replaceop_shr_with_FDataStream_YieldTypes);

Code

17FDataStream& operator>>(FDataStream& loadFrom, YieldTypes& writeTo)18{19	int v;20	loadFrom >> v;21	writeTo = static_cast<YieldTypes>(v);22	return loadFrom;23}

Calls

Called by