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

Public Member Functions

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

Static Public Member Functions

static read (PacketSerializer $in)
 

Public Attributes

const ID = EntityMetadataTypes::COMPOUND_TAG
 

Detailed Description

Definition at line 22 of file CompoundTagMetadataProperty.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\entity\CompoundTagMetadataProperty::__construct ( CacheableNbt  $value)

@phpstan-param CacheableNbt<\pocketmine\nbt\tag\CompoundTag> $value

Definition at line 33 of file CompoundTagMetadataProperty.php.

Member Function Documentation

◆ equals()

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

◆ getValue()

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

@phpstan-return CacheableNbt<\pocketmine\nbt\tag\CompoundTag>

Definition at line 40 of file CompoundTagMetadataProperty.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\entity\CompoundTagMetadataProperty::read ( PacketSerializer  $in)
static
Exceptions
PacketDecodeException

Definition at line 51 of file CompoundTagMetadataProperty.php.

◆ write()

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

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\entity\CompoundTagMetadataProperty::ID = EntityMetadataTypes::COMPOUND_TAG

Definition at line 25 of file CompoundTagMetadataProperty.php.


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