23    use GetTypeIdFromConstTrait;
 
   25    public const ID = EntityMetadataTypes::FLOAT;
 
   27    public function __construct(
 
   31    public function getValue() : 
float{
 
   36        return $other instanceof 
self and $other->value === $this->value;
 
   39    public static function read(ByteBufferReader $in) : 
self{
 
   40        return new self(LE::readFloat($in));
 
   43    public function write(ByteBufferWriter $out) : 
void{
 
   44        LE::writeFloat($out, $this->value);