Class PacketLayerBase
Inheritance
System.Object
PacketLayerBase
Assembly: LiteNetLib.dll
Syntax
public abstract class PacketLayerBase
Constructors
PacketLayerBase(Int32)
Declaration
protected PacketLayerBase(int extraPacketSizeForLayer)
Parameters
Type |
Name |
Description |
System.Int32 |
extraPacketSizeForLayer |
|
Fields
Declaration
public readonly int ExtraPacketSizeForLayer
Field Value
Type |
Description |
System.Int32 |
|
Methods
ProcessInboundPacket(ref Byte[], ref Int32)
Declaration
public abstract void ProcessInboundPacket(ref byte[] data, ref int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.Int32 |
length |
|
ProcessOutBoundPacket(ref Byte[], ref Int32, ref Int32)
Declaration
public abstract void ProcessOutBoundPacket(ref byte[] data, ref int offset, ref int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|