AcknowledgePacket
extends Packet
in package
Table of Contents
- RECORD_TYPE_RANGE = 0
- RECORD_TYPE_SINGLE = 1
- $ID : int
- $packets : array<string|int, int>
- decode() : void
- encode() : void
- decodeHeader() : void
- decodePayload() : void
- encodeHeader() : void
- encodePayload() : void
Constants
RECORD_TYPE_RANGE
private
mixed
RECORD_TYPE_RANGE
= 0
RECORD_TYPE_SINGLE
private
mixed
RECORD_TYPE_SINGLE
= 1
Properties
$ID
public
static int
$ID
= -1
$packets
public
array<string|int, int>
$packets
= []
Methods
decode()
public
decode(PacketSerializer $in) : void
Parameters
- $in : PacketSerializer
Tags
Return values
void —encode()
public
encode(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer
Return values
void —decodeHeader()
protected
decodeHeader(PacketSerializer $in) : void
Parameters
- $in : PacketSerializer
Tags
Return values
void —decodePayload()
protected
decodePayload(PacketSerializer $in) : void
Parameters
- $in : PacketSerializer
Return values
void —encodeHeader()
protected
encodeHeader(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer
Return values
void —encodePayload()
protected
encodePayload(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer