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

Method unpack

Engine/source/sim/connectionStringTable.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 bstream->writeString(mString.getString());
50 }
51 virtual void unpack(NetConnection* /*con*/, BitStream *bstream)
52 {
53 char buf[256];
54 mIndex = bstream->readInt(ConnectionStringTable::EntryBitSize);
55 bstream->readString(buf);
56 mString = NetStringHandle(buf);
57 }
58 virtual void notifyDelivered(NetConnection *ps, bool madeit)
59 {
60 if(madeit)

Callers

nothing calls this directly

Calls 3

NetStringHandleClass · 0.85
readIntMethod · 0.80
readStringMethod · 0.45

Tested by

no test coverage detected