terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ NextConnectionId()

int Telepathy.Server.NextConnectionId ( TcpClient newClient)
inlineprivate

Definition at line 16 of file Server.cs.

17 {
19 int num = 1;
21 if (endPoint != null)
22 {
23 }
24 if (newClient.m_ClientSocket.RemoteEndPoint != null)
25 {
26 }
28 bool flag = this.Disconnect(num);
29 Thread.Sleep(10);
30 return num;
31 }
class f__AnonymousType0<< Count > j__TPar
static void Sleep(int millisecondsTimeout)
Definition Thread.cs:207
ConcurrentDictionary< int, Server.ClientToken > clients
Definition Server.cs:182

References Telepathy.Server.clients, System.Net.Sockets.Disconnect, j__TPar, and System.Threading.Thread.Sleep().

Referenced by Telepathy.Server.Listen().