You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-17 15:46:33 +09:00
Added setter to NetworkThreadName
This commit is contained in:
@@ -56,7 +56,15 @@ namespace Lidgren.Network
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Name of the network thread (if NetPeer.Start has been called)
|
/// Name of the network thread (if NetPeer.Start has been called)
|
||||||
/// </summary>
|
/// </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>
|
/// <summary>
|
||||||
/// Gets a copy of the list of connections
|
/// Gets a copy of the list of connections
|
||||||
|
|||||||
Reference in New Issue
Block a user