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

Method sendConnectAccept

Engine/source/sim/netInterface.cpp:341–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339//-----------------------------------------------------------------------------
340
341void NetInterface::sendConnectAccept(NetConnection *conn)
342{
343 BitStream *out = BitStream::getPacketStream();
344 out->write(U8(ConnectAccept));
345 out->write(conn->getSequence());
346 conn->writeConnectAccept(out);
347 BitStream::sendPacketStream(conn->getNetAddress());
348}
349
350void NetInterface::handleConnectAccept(const NetAddress *address, BitStream *stream)
351{

Callers

nothing calls this directly

Calls 4

getNetAddressMethod · 0.80
writeMethod · 0.45
getSequenceMethod · 0.45
writeConnectAcceptMethod · 0.45

Tested by

no test coverage detected