You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 06:36:30 +09:00
NetIncomingMessage and NetOutgoingMessage now implements Stream as base class
This commit is contained in:
@@ -35,10 +35,10 @@ namespace Lidgren.Network
|
||||
/// <summary>
|
||||
/// Gets or sets the read position in the buffer, in bits (not bytes)
|
||||
/// </summary>
|
||||
public int Position
|
||||
public override long Position // override of Stream property
|
||||
{
|
||||
get { return m_readPosition; }
|
||||
set { m_readPosition = value; }
|
||||
get { return (long)m_readPosition; }
|
||||
set { m_readPosition = (int)value; }
|
||||
}
|
||||
|
||||
static NetIncomingMessage()
|
||||
|
||||
Reference in New Issue
Block a user