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

Method unpackUpdate

Engine/source/T3D/missionArea.cpp:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144//------------------------------------------------------------------------------
145
146void MissionArea::unpackUpdate(NetConnection *, BitStream * stream)
147{
148 // ghost (initial) and regular updates share flag..
149 if(stream->readFlag())
150 {
151 mathRead(*stream, &mArea);
152 stream->read(&mFlightCeiling);
153 stream->read(&mFlightCeilingRange);
154 }
155}
156
157U32 MissionArea::packUpdate(NetConnection *, U32 mask, BitStream * stream)
158{

Callers

nothing calls this directly

Calls 3

mathReadFunction · 0.85
readFlagMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected