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

Public Member Functions

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

Static Public Member Functions

static read (PacketSerializer $in)
 

Public Attributes

const ID = EntityMetadataTypes::FLOAT
 

Detailed Description

Definition at line 20 of file FloatMetadataProperty.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\entity\FloatMetadataProperty::__construct ( private float  $value)

Definition at line 25 of file FloatMetadataProperty.php.

Member Function Documentation

◆ equals()

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

◆ getValue()

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

Definition at line 29 of file FloatMetadataProperty.php.

◆ read()

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

Definition at line 37 of file FloatMetadataProperty.php.

◆ write()

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

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\entity\FloatMetadataProperty::ID = EntityMetadataTypes::FLOAT

Definition at line 23 of file FloatMetadataProperty.php.


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