You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-06 02:11:06 +09:00
tiny changes
This commit is contained in:
@@ -7,10 +7,24 @@ using System.Threading;
|
||||
|
||||
namespace Lidgren.Network
|
||||
{
|
||||
/// <summary>
|
||||
/// Status of the UPnP capabilities
|
||||
/// </summary>
|
||||
public enum UPnPStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// Still discovering UPnP capabilities
|
||||
/// </summary>
|
||||
Discovering,
|
||||
|
||||
/// <summary>
|
||||
/// UPnP is not available
|
||||
/// </summary>
|
||||
NotAvailable,
|
||||
|
||||
/// <summary>
|
||||
/// UPnP is available and ready to use
|
||||
/// </summary>
|
||||
Available
|
||||
}
|
||||
|
||||
@@ -30,6 +44,9 @@ namespace Lidgren.Network
|
||||
|
||||
private UPnPStatus m_status;
|
||||
|
||||
/// <summary>
|
||||
/// Status of the UPnP capabilities of this NetPeer
|
||||
/// </summary>
|
||||
public UPnPStatus Status { get { return m_status; } }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -332,7 +332,7 @@ namespace Lidgren.Network
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets my local IP address (not necessarily external) and subnet mask
|
||||
/// Gets my local IPv4 address (not necessarily external) and subnet mask
|
||||
/// </summary>
|
||||
public static IPAddress GetMyAddress(out IPAddress mask)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user