PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
raklib\protocol\EncapsulatedPacket Class Reference
+ Collaboration diagram for raklib\protocol\EncapsulatedPacket:

Public Member Functions

 __toString ()
 
 getHeaderLength ()
 
 getTotalLength ()
 
 toBinary ()
 

Static Public Member Functions

static fromBinary (BinaryStream $stream)
 

Public Attributes

string $buffer = ""
 
int $identifierACK = null
 
int $messageIndex = null
 
int $orderChannel = null
 
int $orderIndex = null
 
int $reliability
 
int $sequenceIndex = null
 
SplitPacketInfo $splitInfo = null
 
const SPLIT_INFO_LENGTH = 4 + 2 + 4
 

Detailed Description

Definition at line 26 of file EncapsulatedPacket.php.

Member Function Documentation

◆ __toString()

raklib\protocol\EncapsulatedPacket::__toString ( )

Definition at line 110 of file EncapsulatedPacket.php.

◆ fromBinary()

static raklib\protocol\EncapsulatedPacket::fromBinary ( BinaryStream $stream)
static
Exceptions
BinaryDataException

Definition at line 46 of file EncapsulatedPacket.php.

◆ getHeaderLength()

raklib\protocol\EncapsulatedPacket::getHeaderLength ( )

@phpstan-return int<3, 23>

Definition at line 96 of file EncapsulatedPacket.php.

◆ getTotalLength()

raklib\protocol\EncapsulatedPacket::getTotalLength ( )

Definition at line 106 of file EncapsulatedPacket.php.

◆ toBinary()

raklib\protocol\EncapsulatedPacket::toBinary ( )

Definition at line 82 of file EncapsulatedPacket.php.

Member Data Documentation

◆ $buffer

string raklib\protocol\EncapsulatedPacket::$buffer = ""

Definition at line 40 of file EncapsulatedPacket.php.

◆ $identifierACK

int raklib\protocol\EncapsulatedPacket::$identifierACK = null

Definition at line 41 of file EncapsulatedPacket.php.

◆ $messageIndex

int raklib\protocol\EncapsulatedPacket::$messageIndex = null

Definition at line 35 of file EncapsulatedPacket.php.

◆ $orderChannel

int raklib\protocol\EncapsulatedPacket::$orderChannel = null

Definition at line 38 of file EncapsulatedPacket.php.

◆ $orderIndex

int raklib\protocol\EncapsulatedPacket::$orderIndex = null

Definition at line 37 of file EncapsulatedPacket.php.

◆ $reliability

int raklib\protocol\EncapsulatedPacket::$reliability

Definition at line 34 of file EncapsulatedPacket.php.

◆ $sequenceIndex

int raklib\protocol\EncapsulatedPacket::$sequenceIndex = null

Definition at line 36 of file EncapsulatedPacket.php.

◆ $splitInfo

SplitPacketInfo raklib\protocol\EncapsulatedPacket::$splitInfo = null

Definition at line 39 of file EncapsulatedPacket.php.

◆ SPLIT_INFO_LENGTH

const raklib\protocol\EncapsulatedPacket::SPLIT_INFO_LENGTH = 4 + 2 + 4

Definition at line 32 of file EncapsulatedPacket.php.


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