You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 07:06:30 +09:00
Sandcastle documentation added
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>bin\Debug\Lidgren.Network.XML</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
|
||||
@@ -27,12 +27,29 @@ namespace Lidgren.Network
|
||||
{
|
||||
None,
|
||||
|
||||
InitiatedConnect, // we sent Connect
|
||||
/// <summary>
|
||||
/// Connect has been sent; waiting for ConnectResponse
|
||||
/// </summary>
|
||||
InitiatedConnect,
|
||||
|
||||
/// <summary>
|
||||
/// Connect was received and ConnectResponse has been sent; waiting for ConnectionEstablished
|
||||
/// </summary>
|
||||
RespondedConnect, // we got Connect, sent ConnectResponse
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Connected
|
||||
/// </summary>
|
||||
Connected, // we received ConnectResponse (if initiator) or ConnectionEstablished (if passive)
|
||||
|
||||
/// <summary>
|
||||
/// In the process of disconnecting
|
||||
/// </summary>
|
||||
Disconnecting,
|
||||
|
||||
/// <summary>
|
||||
/// Disconnected
|
||||
/// </summary>
|
||||
Disconnected
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,7 +75,6 @@ namespace Lidgren.Network
|
||||
/// <summary>
|
||||
/// Creates a new message for sending
|
||||
/// </summary>
|
||||
/// <param name="initialCapacity">initial capacity in bytes</param>
|
||||
public NetOutgoingMessage CreateMessage()
|
||||
{
|
||||
return CreateMessage(m_configuration.m_defaultOutgoingMessageCapacity);
|
||||
@@ -84,7 +83,6 @@ namespace Lidgren.Network
|
||||
/// <summary>
|
||||
/// Creates a new message for sending and writes the provided string to it
|
||||
/// </summary>
|
||||
/// <param name="initialCapacity">initial capacity in bytes</param>
|
||||
public NetOutgoingMessage CreateMessage(string content)
|
||||
{
|
||||
byte[] bytes = Encoding.UTF8.GetBytes(content);
|
||||
|
||||
Reference in New Issue
Block a user