PocketMine-MP 5.44.4 git-bc94a0da0c87abe7eb99d229a9ec672b3c405d11
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\PresenceInfo Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\PresenceInfo:

Public Member Functions

 __construct (private ?string $experienceName, private ?string $worldName, private string $richPresenceId)
 
 getExperienceName ()
 
 getRichPresenceId ()
 
 getWorldName ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

See also
ServerPresenceInfoPacket&ServerJoinInformation

Definition at line 24 of file PresenceInfo.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\PresenceInfo::__construct ( private ?string $experienceName,
private ?string $worldName,
private string $richPresenceId )

Definition at line 25 of file PresenceInfo.php.

Member Function Documentation

◆ getExperienceName()

pocketmine\network\mcpe\protocol\types\PresenceInfo::getExperienceName ( )

Definition at line 31 of file PresenceInfo.php.

◆ getRichPresenceId()

pocketmine\network\mcpe\protocol\types\PresenceInfo::getRichPresenceId ( )

Definition at line 35 of file PresenceInfo.php.

◆ getWorldName()

pocketmine\network\mcpe\protocol\types\PresenceInfo::getWorldName ( )

Definition at line 33 of file PresenceInfo.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\PresenceInfo::read ( ByteBufferReader $in)
static

Definition at line 37 of file PresenceInfo.php.

◆ write()

pocketmine\network\mcpe\protocol\types\PresenceInfo::write ( ByteBufferWriter $out)

Definition at line 45 of file PresenceInfo.php.


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