PocketMine-MP 5.15.1 git-fb9a74e8799c71ed8292cfa53abe7a4c9204629d
pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty:

Public Member Functions

 __construct (private string $value)
 
 equals (MetadataProperty $other)
 
 getTypeId ()
 
 getValue ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Public Attributes

const ID = EntityMetadataTypes::STRING
 

Detailed Description

Definition at line 20 of file StringMetadataProperty.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty::__construct ( private string  $value)

Definition at line 25 of file StringMetadataProperty.php.

Member Function Documentation

◆ equals()

pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty::equals ( MetadataProperty  $other)

◆ getValue()

pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty::getValue ( )

Definition at line 29 of file StringMetadataProperty.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty::read ( PacketSerializer  $in)
static

Definition at line 31 of file StringMetadataProperty.php.

◆ write()

pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty::write ( PacketSerializer  $out)

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty::ID = EntityMetadataTypes::STRING

Definition at line 23 of file StringMetadataProperty.php.


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