You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 07:06:30 +09:00
Release build fixed for NetPeerSettingsWindow
ManyClients project excluded missing app.config file Reduced number of calls to NetTime.Now when receiving multiple messages Moved magic numbers to constants in NetConnection
This commit is contained in:
@@ -31,7 +31,15 @@ namespace Lidgren.Network
|
||||
/// find the message in the queue. Other user created threads could be preempted and dequeue
|
||||
/// the message before the waiting thread wakes up.
|
||||
/// </summary>
|
||||
public AutoResetEvent MessageReceivedEvent { get { return m_messageReceivedEvent; } }
|
||||
public AutoResetEvent MessageReceivedEvent
|
||||
{
|
||||
get
|
||||
{
|
||||
if (m_messageReceivedEvent == null)
|
||||
m_messageReceivedEvent = new AutoResetEvent(false);
|
||||
return m_messageReceivedEvent;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a unique identifier for this NetPeer based on Mac address and ip/port. Note! Not available until Start() has been called!
|
||||
|
||||
Reference in New Issue
Block a user