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

Public Member Functions

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

Public Attributes

int $clientID
 
int $mtuSize
 
InternetAddress $serverAddress
 

Static Public Attributes

static $ID = MessageIdentifiers::ID_OPEN_CONNECTION_REQUEST_2
 

Protected Member Functions

 decodeHeader (PacketSerializer $in)
 
 decodePayload (PacketSerializer $in)
 
 encodeHeader (PacketSerializer $out)
 
 encodePayload (PacketSerializer $out)
 
 readMagic (BinaryStream $in)
 
 writeMagic (BinaryStream $out)
 

Protected Attributes

string $magic = self::MAGIC
 

Detailed Description

Definition at line 21 of file OpenConnectionRequest2.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\OpenConnectionRequest2::decodePayload ( PacketSerializer $in)
protected
Exceptions
BinaryDataException

Reimplemented from raklib\protocol\Packet.

Definition at line 35 of file OpenConnectionRequest2.php.

◆ 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\OpenConnectionRequest2::encodePayload ( PacketSerializer $out)
protected

Reimplemented from raklib\protocol\Packet.

Definition at line 28 of file OpenConnectionRequest2.php.

◆ isValid()

raklib\protocol\OfflineMessage::isValid ( )
inherited

Definition at line 46 of file OfflineMessage.php.

◆ readMagic()

raklib\protocol\OfflineMessage::readMagic ( BinaryStream $in)
protectedinherited
Returns
void
Exceptions
BinaryDataException

Definition at line 35 of file OfflineMessage.php.

References pocketmine\utils\BinaryStream\get().

+ Here is the call graph for this function:

◆ writeMagic()

raklib\protocol\OfflineMessage::writeMagic ( BinaryStream $out)
protectedinherited
Returns
void

Definition at line 42 of file OfflineMessage.php.

Member Data Documentation

◆ $clientID

int raklib\protocol\OpenConnectionRequest2::$clientID

Definition at line 24 of file OpenConnectionRequest2.php.

◆ $ID

raklib\protocol\OpenConnectionRequest2::$ID = MessageIdentifiers::ID_OPEN_CONNECTION_REQUEST_2
static

Definition at line 22 of file OpenConnectionRequest2.php.

◆ $magic

string raklib\protocol\OfflineMessage::$magic = self::MAGIC
protectedinherited

Definition at line 29 of file OfflineMessage.php.

◆ $mtuSize

int raklib\protocol\OpenConnectionRequest2::$mtuSize

Definition at line 26 of file OpenConnectionRequest2.php.

◆ $serverAddress

InternetAddress raklib\protocol\OpenConnectionRequest2::$serverAddress

Definition at line 25 of file OpenConnectionRequest2.php.


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