PocketMine-MP 5.31.1 git-a1d74b57109a7c91ffab73718182f3b1e530fae3
Loading...
Searching...
No Matches
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: