PocketMine-MP 5.21.1 git-2ff647079265e7c600203af4fd902b15e99d49a4
raklib\protocol\ACK Class Reference
+ Inheritance diagram for raklib\protocol\ACK:
+ Collaboration diagram for raklib\protocol\ACK:

Public Member Functions

 decode (PacketSerializer $in)
 
 encode (PacketSerializer $out)
 

Public Attributes

array $packets = []
 

Static Public Attributes

static $ID = 0xc0
 

Protected Member Functions

 decodeHeader (PacketSerializer $in)
 
 decodePayload (PacketSerializer $in)
 
 encodeHeader (PacketSerializer $out)
 
 encodePayload (PacketSerializer $out)
 

Detailed Description

Definition at line 19 of file ACK.php.

Member Function Documentation

◆ decode()

raklib\protocol\Packet::decode ( PacketSerializer  $in)
inherited
Exceptions
BinaryDataException

Definition at line 39 of file raklib/src/protocol/Packet.php.

◆ decodeHeader()

raklib\protocol\Packet::decodeHeader ( PacketSerializer  $in)
protectedinherited
Exceptions
BinaryDataException

Reimplemented in raklib\protocol\Datagram.

Definition at line 47 of file raklib/src/protocol/Packet.php.

◆ decodePayload()

raklib\protocol\AcknowledgePacket::decodePayload ( PacketSerializer  $in)
protectedinherited
Exceptions
BinaryDataException

Reimplemented from raklib\protocol\Packet.

Definition at line 78 of file AcknowledgePacket.php.

References pocketmine\utils\BinaryStream\getByte(), and pocketmine\utils\BinaryStream\getLTriad().

+ Here is the call graph for this function:

◆ encode()

raklib\protocol\Packet::encode ( PacketSerializer  $out)
inherited

Definition at line 25 of file raklib/src/protocol/Packet.php.

◆ encodeHeader()

raklib\protocol\Packet::encodeHeader ( PacketSerializer  $out)
protectedinherited

Definition at line 30 of file raklib/src/protocol/Packet.php.

◆ encodePayload()

raklib\protocol\AcknowledgePacket::encodePayload ( PacketSerializer  $out)
protectedinherited

Reimplemented from raklib\protocol\Packet.

Definition at line 32 of file AcknowledgePacket.php.

Member Data Documentation

◆ $ID

raklib\protocol\ACK::$ID = 0xc0
static

Definition at line 21 of file ACK.php.

◆ $packets

array raklib\protocol\AcknowledgePacket::$packets = []
inherited

Definition at line 30 of file AcknowledgePacket.php.


The documentation for this class was generated from the following file: