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

Static Public Member Functions

static read (ByteBufferReader $in)
 

Public Attributes

const ID = EntityMetadataTypes::COMPOUND_TAG
 

Detailed Description

Definition at line 24 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 35 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 42 of file CompoundTagMetadataProperty.php.

◆ read()

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

Definition at line 53 of file CompoundTagMetadataProperty.php.

◆ write()

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

Member Data Documentation

◆ ID

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

Definition at line 27 of file CompoundTagMetadataProperty.php.


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