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

Method unpackUpdate

Engine/source/forest/forest.cpp:234–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void Forest::unpackUpdate(NetConnection *connection, BitStream *stream)
235{
236 Parent::unpackUpdate(connection,stream);
237
238 if ( stream->readFlag() )
239 {
240 mDataFileName = stream->readSTString();
241 }
242
243 if ( stream->readFlag() ) // LodMask
244 {
245 stream->read( &mReflectionLodScalar );
246 }
247}
248
249void Forest::inspectPostApply()
250{

Callers

nothing calls this directly

Calls 3

readFlagMethod · 0.80
readSTStringMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected