Skip to main content

Class AckSystem.ReliablePacket

Inheritance
System.Object
Inherited Members
Show
Syntax
public class ReliablePacket

Fields

LastSequence

Declaration
public ushort LastSequence

Length

Declaration
public int Length

Buffer

Declaration
public ByteBuffer Buffer

Order

Declaration
public ushort Order

Sequences

Declaration
public readonly List<ushort> Sequences

Methods

OnSend(UInt16)

Declaration
public void OnSend(ushort sequence)
Parameters
TypeNameDescription
System.UInt16sequence

OnAck()

Declaration
public void OnAck()

Setup(UInt16, ByteBuffer, Int32)

Declaration
public void Setup(ushort order, ByteBuffer buffer, int length)
Parameters
TypeNameDescription
System.UInt16order
Mirage.SocketLayer.ByteBufferbuffer
System.Int32length

GetHashCode()

Declaration
public override int GetHashCode()
Returns
TypeDescription
System.Int32

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
TypeNameDescription
System.Objectobj
Returns
TypeDescription
System.Boolean

CreateNew(Pool<AckSystem.ReliablePacket>)

Declaration
public static AckSystem.ReliablePacket CreateNew(Pool<AckSystem.ReliablePacket> pool)
Parameters
TypeNameDescription
Mirage.SocketLayer.Pool<Mirage.SocketLayer.AckSystem.ReliablePacket>pool
Returns
TypeDescription
Mirage.SocketLayer.AckSystem.ReliablePacket