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

Public Member Functions

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

Static Public Member Functions

static create (int $sendPingTime)
 

Public Attributes

int $sendPingTime
 

Static Public Attributes

static $ID = MessageIdentifiers::ID_CONNECTED_PING
 

Protected Member Functions

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

Detailed Description

Definition at line 19 of file ConnectedPing.php.

Member Function Documentation

◆ create()

static raklib\protocol\ConnectedPing::create ( int  $sendPingTime)
static

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

Reimplemented from raklib\protocol\Packet.

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

Reimplemented from raklib\protocol\Packet.

Definition at line 30 of file ConnectedPing.php.

Member Data Documentation

◆ $ID

raklib\protocol\ConnectedPing::$ID = MessageIdentifiers::ID_CONNECTED_PING
static

Definition at line 20 of file ConnectedPing.php.

◆ $sendPingTime

int raklib\protocol\ConnectedPing::$sendPingTime

Definition at line 22 of file ConnectedPing.php.


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