MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / writePacket

Method writePacket

engine/source/game/gameConnection.cc:342–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342void GameConnection::writePacket(BitStream *bstream, PacketNotify *note)
343{
344 char stringBuf[256];
345 bstream->clearCompressionPoint();
346 stringBuf[0] = 0;
347 bstream->setStringBuffer(stringBuf);
348
349 Parent::writePacket(bstream, note);
350 bstream->clearCompressionPoint();
351 bstream->setStringBuffer(NULL);
352}
353
354
355void GameConnection::detectLag()

Callers

nothing calls this directly

Calls 2

clearCompressionPointMethod · 0.80
setStringBufferMethod · 0.80

Tested by

no test coverage detected