C# Class Server.Network.Packet

Mostra file Open project: brodock/runuo Class Usage Examples

Protected Properties

Property Type Description
m_Stream PacketWriter

Public Methods

Method Description
Acquire ( Packet p ) : Packet
Acquire ( ) : void
Compile ( bool compress, int &length ) : byte[]
EnsureCapacity ( int length ) : void
OnSend ( ) : void
Release ( ) : void
Release ( OPLInfo &p ) : void
Release ( ObjectPropertyList &p ) : void
Release ( Packet &p ) : void
Release ( RemoveItem &p ) : void
Release ( RemoveMobile &p ) : void
SetStatic ( Packet p ) : Packet
SetStatic ( ) : void

Protected Methods

Method Description
Packet ( int packetID ) : System
Packet ( int packetID, int length ) : System

Private Methods

Method Description
Free ( ) : void
InternalCompile ( bool compress ) : void

Method Details

Acquire() public static method

public static Acquire ( Packet p ) : Packet
p Packet
return Packet

Acquire() public method

public Acquire ( ) : void
return void

Compile() public method

public Compile ( bool compress, int &length ) : byte[]
compress bool
length int
return byte[]

EnsureCapacity() public method

public EnsureCapacity ( int length ) : void
length int
return void

OnSend() public method

public OnSend ( ) : void
return void

Packet() protected method

protected Packet ( int packetID ) : System
packetID int
return System

Packet() protected method

protected Packet ( int packetID, int length ) : System
packetID int
length int
return System

Release() public method

public Release ( ) : void
return void

Release() public static method

public static Release ( OPLInfo &p ) : void
p OPLInfo
return void

Release() public static method

public static Release ( ObjectPropertyList &p ) : void
p ObjectPropertyList
return void

Release() public static method

public static Release ( Packet &p ) : void
p Packet
return void

Release() public static method

public static Release ( RemoveItem &p ) : void
p RemoveItem
return void

Release() public static method

public static Release ( RemoveMobile &p ) : void
p RemoveMobile
return void

SetStatic() public static method

public static SetStatic ( Packet p ) : Packet
p Packet
return Packet

SetStatic() public method

public SetStatic ( ) : void
return void

Property Details

m_Stream protected_oe property

protected PacketWriter m_Stream
return PacketWriter