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

Public Member Functions

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

Static Public Member Functions

static create (InternetAddress $clientAddress, array $systemAddresses, int $sendPingTime, int $sendPongTime)
 

Public Attributes

InternetAddress $address
 
int $sendPingTime
 
int $sendPongTime
 
array $systemAddresses = []
 

Static Public Attributes

static $ID = MessageIdentifiers::ID_CONNECTION_REQUEST_ACCEPTED
 

Protected Member Functions

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

Detailed Description

Definition at line 23 of file ConnectionRequestAccepted.php.

Constructor & Destructor Documentation

◆ __construct()

raklib\protocol\ConnectionRequestAccepted::__construct ( )

Definition at line 44 of file ConnectionRequestAccepted.php.

Member Function Documentation

◆ create()

static raklib\protocol\ConnectionRequestAccepted::create ( InternetAddress $clientAddress,
array $systemAddresses,
int $sendPingTime,
int $sendPongTime )
static
Parameters
InternetAddress[]$systemAddresses

Definition at line 35 of file ConnectionRequestAccepted.php.

◆ 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\ConnectionRequestAccepted::decodePayload ( PacketSerializer $in)
protected
Exceptions
BinaryDataException

Reimplemented from raklib\protocol\Packet.

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

Reimplemented from raklib\protocol\Packet.

Definition at line 48 of file ConnectionRequestAccepted.php.

Member Data Documentation

◆ $address

InternetAddress raklib\protocol\ConnectionRequestAccepted::$address

Definition at line 26 of file ConnectionRequestAccepted.php.

◆ $ID

raklib\protocol\ConnectionRequestAccepted::$ID = MessageIdentifiers::ID_CONNECTION_REQUEST_ACCEPTED
static

Definition at line 24 of file ConnectionRequestAccepted.php.

◆ $sendPingTime

int raklib\protocol\ConnectionRequestAccepted::$sendPingTime

Definition at line 29 of file ConnectionRequestAccepted.php.

◆ $sendPongTime

int raklib\protocol\ConnectionRequestAccepted::$sendPongTime

Definition at line 30 of file ConnectionRequestAccepted.php.

◆ $systemAddresses

array raklib\protocol\ConnectionRequestAccepted::$systemAddresses = []

Definition at line 28 of file ConnectionRequestAccepted.php.


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