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

Public Member Functions

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

Static Public Member Functions

static create (int $sendPingTime, int $sendPongTime)
 

Public Attributes

int $sendPingTime
 
int $sendPongTime
 

Static Public Attributes

static $ID = MessageIdentifiers::ID_CONNECTED_PONG
 

Protected Member Functions

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

Detailed Description

Definition at line 19 of file ConnectedPong.php.

Member Function Documentation

◆ create()

static raklib\protocol\ConnectedPong::create ( int $sendPingTime,
int $sendPongTime )
static

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

Reimplemented from raklib\protocol\Packet.

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

Reimplemented from raklib\protocol\Packet.

Definition at line 32 of file ConnectedPong.php.

Member Data Documentation

◆ $ID

raklib\protocol\ConnectedPong::$ID = MessageIdentifiers::ID_CONNECTED_PONG
static

Definition at line 20 of file ConnectedPong.php.

◆ $sendPingTime

int raklib\protocol\ConnectedPong::$sendPingTime

Definition at line 22 of file ConnectedPong.php.

◆ $sendPongTime

int raklib\protocol\ConnectedPong::$sendPongTime

Definition at line 23 of file ConnectedPong.php.


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