Bazaar developer reference

operator>>(FDataStream &, PlotExtraCost &)

Defined in
CvStructs.cpp, line 726
Hook name
CivHooks::op_shr_with_FDataStream_PlotExtraCost

Hooks

static bool Beforeop_shr_with_FDataStream_PlotExtraCost(FDataStream& loadFrom, PlotExtraCost& writeTo, FDataStream*& result);static void Afterop_shr_with_FDataStream_PlotExtraCost(FDataStream& loadFrom, PlotExtraCost& writeTo, FDataStream*& result);static FDataStream& Replaceop_shr_with_FDataStream_PlotExtraCost(FDataStream& (*original)(FDataStream&, PlotExtraCost&), FDataStream& loadFrom, PlotExtraCost& writeTo);CivRegisterBefore<CivHooks::op_shr_with_FDataStream_PlotExtraCost>(host, &Beforeop_shr_with_FDataStream_PlotExtraCost);CivRegisterAfter<CivHooks::op_shr_with_FDataStream_PlotExtraCost>(host, &Afterop_shr_with_FDataStream_PlotExtraCost);CivRegisterReplace<CivHooks::op_shr_with_FDataStream_PlotExtraCost>(host, &Replaceop_shr_with_FDataStream_PlotExtraCost);

Code

726FDataStream& operator>>(FDataStream& loadFrom, PlotExtraCost& writeTo)727{728	loadFrom >> writeTo.m_iX;729	loadFrom >> writeTo.m_iY;730	loadFrom >> writeTo.m_iCost;731	return loadFrom;732}

Calls