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

Method pack

Engine/source/sim/connectionStringTable.cpp:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 mString = string;
40 }
41 virtual void pack(NetConnection* /*ps*/, BitStream *bstream)
42 {
43 bstream->writeInt(mIndex, ConnectionStringTable::EntryBitSize);
44 bstream->writeString(mString.getString());
45 }
46 virtual void write(NetConnection* /*ps*/, BitStream *bstream)
47 {
48 bstream->writeInt(mIndex, ConnectionStringTable::EntryBitSize);

Callers

nothing calls this directly

Calls 3

writeIntMethod · 0.80
writeStringMethod · 0.45
getStringMethod · 0.45

Tested by

no test coverage detected