You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-19 00:26:30 +09:00
NetPeer.GetConnection() made public
This commit is contained in:
@@ -132,10 +132,10 @@ namespace Lidgren.Network
|
|||||||
Thread.Sleep(10);
|
Thread.Sleep(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
internal NetConnection GetConnection(IPEndPoint ep)
|
public NetConnection GetConnection(IPEndPoint ep)
|
||||||
{
|
{
|
||||||
NetConnection retval;
|
NetConnection retval;
|
||||||
m_connectionLookup.TryGetValue(ep, out retval);
|
m_connectionLookup.TryGetValue(ep, out retval); // this should not pose a threading problem, afaict
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user