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

Method packUpdate

Engine/source/forest/forest.cpp:216–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216U32 Forest::packUpdate( NetConnection *connection, U32 mask, BitStream *stream )
217{
218 U32 retMask = Parent::packUpdate( connection, mask, stream );
219
220 if ( stream->writeFlag( mask & MediaMask ) )
221 stream->writeString( mDataFileName );
222
223 if ( stream->writeFlag( mask & LodMask ) )
224 {
225 stream->write( mReflectionLodScalar );
226 }
227
228 return retMask;
229}
230
231void Forest::unpackUpdate(NetConnection *connection, BitStream *stream)
232{

Callers

nothing calls this directly

Calls 3

writeFlagMethod · 0.45
writeStringMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected