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

Method NetDelayEvent

Engine/source/sim/netConnection.cpp:782–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780 BitStream stream;
781public:
782 NetDelayEvent(BitStream *inStream) : stream(NULL, 0)
783 {
784 dMemcpy(buffer, inStream->getBuffer(), inStream->getPosition());
785 stream.setBuffer(buffer, inStream->getPosition());
786 stream.setPosition(inStream->getPosition());
787 }
788 void process(SimObject *object)
789 {
790 ((NetConnection *) object)->sendPacket(&stream);

Callers

nothing calls this directly

Calls 5

dMemcpyFunction · 0.50
getBufferMethod · 0.45
getPositionMethod · 0.45
setBufferMethod · 0.45
setPositionMethod · 0.45

Tested by

no test coverage detected