You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-18 08:06:33 +09:00
Lots of XML comments added; documentation rebuilt
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Lidgren.Network
|
||||
{
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
internal void Reset()
|
||||
{
|
||||
m_messageType = NetMessageType.LibraryError;
|
||||
m_bitLength = 0;
|
||||
@@ -114,6 +114,9 @@ namespace Lidgren.Network
|
||||
return retval;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Encrypt this message using the XTEA algorithm; no more writing can be done before sending it
|
||||
/// </summary>
|
||||
public void Encrypt(NetXtea tea)
|
||||
{
|
||||
// need blocks of 8 bytes
|
||||
@@ -130,6 +133,9 @@ namespace Lidgren.Network
|
||||
m_data = result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a string that represents this object
|
||||
/// </summary>
|
||||
public override string ToString()
|
||||
{
|
||||
return "[NetOutgoingMessage " + m_messageType + " " + this.LengthBytes + " bytes]";
|
||||
|
||||
Reference in New Issue
Block a user