PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
raklib\protocol\NACK Class Reference
+ Inheritance diagram for raklib\protocol\NACK:
+ Collaboration diagram for raklib\protocol\NACK:

Public Member Functions

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

Public Attributes

array $packets = []
 

Static Public Attributes

static $ID = 0xa0
 

Protected Member Functions

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

Detailed Description

Definition at line 19 of file NACK.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\NACK::$ID = 0xa0
static

Definition at line 20 of file NACK.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: