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

Method setEstablished

Engine/source/sim/netConnection.cpp:642–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640//--------------------------------------------------------------------
641
642void NetConnection::setEstablished()
643{
644 AssertFatal(!mEstablished, "NetConnection::setEstablished - Error, this NetConnection has already been established.");
645
646 mEstablished = true;
647 mNextConnection = mConnectionList;
648 if(mConnectionList)
649 mConnectionList->mPrevConnection = this;
650 mConnectionList = this;
651
652 if(isNetworkConnection())
653 netAddressTableInsert();
654
655}
656
657void NetConnection::onRemove()
658{

Callers 5

handleConnectRequestMethod · 0.80
handleConnectAcceptMethod · 0.80
netConnection.cppFile · 0.80
aiClient.cppFile · 0.80
gameConnection.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected