1
0
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:
lidgren
2011-04-25 15:13:36 +00:00
parent 650c91fea5
commit 19000f8036
23 changed files with 359 additions and 48 deletions

View File

@@ -85,6 +85,9 @@ namespace Lidgren.Network
/// </summary>
public NetPeerConfiguration Configuration { get { return m_configuration; } }
/// <summary>
/// NetPeer constructor
/// </summary>
public NetPeer(NetPeerConfiguration config)
{
m_configuration = config;
@@ -132,6 +135,9 @@ namespace Lidgren.Network
Thread.Sleep(10);
}
/// <summary>
/// Get the connection, if any, for a certain remote endpoint
/// </summary>
public NetConnection GetConnection(IPEndPoint ep)
{
NetConnection retval;
@@ -253,6 +259,9 @@ namespace Lidgren.Network
}
#if DEBUG
/// <summary>
/// Send raw bytes; only used for debugging
/// </summary>
public void RawSend(byte[] arr, int offset, int length, IPEndPoint destination)
{
// wrong thread - this miiiight crash with network thread... but what's a boy to do.