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

Public Member Functions

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

Public Attributes

int $clientID
 
int $sendPingTime
 
bool $useSecurity = false
 

Static Public Attributes

static $ID = MessageIdentifiers::ID_CONNECTION_REQUEST
 

Protected Member Functions

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

Detailed Description

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

Reimplemented from raklib\protocol\Packet.

Definition at line 32 of file ConnectionRequest.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\ConnectionRequest::encodePayload ( PacketSerializer  $out)
protected

Reimplemented from raklib\protocol\Packet.

Definition at line 26 of file ConnectionRequest.php.

Member Data Documentation

◆ $clientID

int raklib\protocol\ConnectionRequest::$clientID

Definition at line 22 of file ConnectionRequest.php.

◆ $ID

raklib\protocol\ConnectionRequest::$ID = MessageIdentifiers::ID_CONNECTION_REQUEST
static

Definition at line 20 of file ConnectionRequest.php.

◆ $sendPingTime

int raklib\protocol\ConnectionRequest::$sendPingTime

Definition at line 23 of file ConnectionRequest.php.

◆ $useSecurity

bool raklib\protocol\ConnectionRequest::$useSecurity = false

Definition at line 24 of file ConnectionRequest.php.


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