MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / packUpdate

Method packUpdate

Engine/source/T3D/missionMarker.cpp:155–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155U32 MissionMarker::packUpdate(NetConnection * con, U32 mask, BitStream * stream)
156{
157 U32 retMask = Parent::packUpdate(con, mask, stream);
158 if(stream->writeFlag(mask & PositionMask))
159 {
160 stream->writeAffineTransform(mObjToWorld);
161 mathWrite(*stream, mObjScale);
162 }
163
164 return(retMask);
165}
166
167void MissionMarker::unpackUpdate(NetConnection * con, BitStream * stream)
168{

Callers

nothing calls this directly

Calls 6

mathWriteFunction · 0.85
isHiddenFunction · 0.85
writeAffineTransformMethod · 0.80
writeFlagMethod · 0.45
writeStringMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected