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

Public Member Functions

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

Static Public Member Functions

static create (int $protocolVersion, int $serverId)
 

Public Attributes

int $protocolVersion
 
int $serverId
 

Static Public Attributes

static $ID = MessageIdentifiers::ID_INCOMPATIBLE_PROTOCOL_VERSION
 

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 19 of file IncompatibleProtocolVersion.php.

Member Function Documentation

◆ create()

static raklib\protocol\IncompatibleProtocolVersion::create ( int $protocolVersion,
int $serverId )
static

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

Reimplemented from raklib\protocol\Packet.

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

Reimplemented from raklib\protocol\Packet.

Definition at line 32 of file IncompatibleProtocolVersion.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

◆ $ID

raklib\protocol\IncompatibleProtocolVersion::$ID = MessageIdentifiers::ID_INCOMPATIBLE_PROTOCOL_VERSION
static

Definition at line 20 of file IncompatibleProtocolVersion.php.

◆ $magic

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

Definition at line 29 of file OfflineMessage.php.

◆ $protocolVersion

int raklib\protocol\IncompatibleProtocolVersion::$protocolVersion

Definition at line 22 of file IncompatibleProtocolVersion.php.

◆ $serverId

int raklib\protocol\IncompatibleProtocolVersion::$serverId

Definition at line 23 of file IncompatibleProtocolVersion.php.


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