You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 22:56:30 +09:00
XML comments added to remove all warnings; Documentation.chm updated
This commit is contained in:
@@ -50,6 +50,9 @@ namespace Lidgren.Network
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the connection status of the server connection (or NetConnectionStatus.Disconnected if no connection)
|
||||
/// </summary>
|
||||
public NetConnectionStatus ConnectionStatus
|
||||
{
|
||||
get
|
||||
@@ -61,12 +64,22 @@ namespace Lidgren.Network
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// NetClient constructor
|
||||
/// </summary>
|
||||
/// <param name="config"></param>
|
||||
public NetClient(NetPeerConfiguration config)
|
||||
: base(config)
|
||||
{
|
||||
config.AcceptIncomingConnections = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Connect to a remote server
|
||||
/// </summary>
|
||||
/// <param name="remoteEndpoint">The remote endpoint to connect to</param>
|
||||
/// <param name="hailMessage">The hail message to pass</param>
|
||||
/// <returns>server connection, or null if already connected</returns>
|
||||
public override NetConnection Connect(IPEndPoint remoteEndpoint, NetOutgoingMessage hailMessage)
|
||||
{
|
||||
lock (m_connections)
|
||||
|
||||
Reference in New Issue
Block a user