1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 22:56:30 +09:00

Added setter to NetworkThreadName

This commit is contained in:
lidgren
2010-08-15 10:25:07 +00:00
parent cf60a5ef57
commit d340cc58ef

View File

@@ -56,7 +56,15 @@ namespace Lidgren.Network
/// <summary>
/// Name of the network thread (if NetPeer.Start has been called)
/// </summary>
public string NetworkThreadName { get { return (m_networkThread == null ? string.Empty : m_networkThread.Name); } }
public string NetworkThreadName
{
get { return (m_networkThread == null ? string.Empty : m_networkThread.Name); }
set
{
if (m_networkThread != null)
m_networkThread.Name = value;
}
}
/// <summary>
/// Gets a copy of the list of connections