PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
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 (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Public Attributes

const ID = EntityMetadataTypes::STRING
 

Detailed Description

Definition at line 22 of file StringMetadataProperty.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 27 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 31 of file StringMetadataProperty.php.

◆ read()

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

Definition at line 33 of file StringMetadataProperty.php.

◆ write()

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

Member Data Documentation

◆ ID

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

Definition at line 25 of file StringMetadataProperty.php.


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