1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 07:06:30 +09:00

NetPeer.GetConnection() made public

This commit is contained in:
lidgren
2010-11-23 21:56:29 +00:00
parent 3103892362
commit 5666407931

View File

@@ -132,10 +132,10 @@ namespace Lidgren.Network
Thread.Sleep(10);
}
internal NetConnection GetConnection(IPEndPoint ep)
public NetConnection GetConnection(IPEndPoint ep)
{
NetConnection retval;
m_connectionLookup.TryGetValue(ep, out retval);
m_connectionLookup.TryGetValue(ep, out retval); // this should not pose a threading problem, afaict
return retval;
}