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

Method addToTable

Engine/source/app/net/tcpObject.cpp:179–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void TCPObject::addToTable(NetSocket newTag)
180{
181 removeFromTable();
182 mTag = newTag;
183 mNext = table[mTag.getHash() & TableMask];
184 table[mTag.getHash() & TableMask] = this;
185}
186
187void TCPObject::removeFromTable()
188{

Callers

nothing calls this directly

Calls 1

getHashMethod · 0.45

Tested by

no test coverage detected