25 public function __construct(
30 public function getTime() :
float{
return $this->time; }
32 public function getValue() :
Vector3{
return $this->value; }
34 public static function read(ByteBufferReader $in) :
self{
35 $time = LE::readFloat($in);
36 $value = CommonTypes::getVector3($in);
44 public function write(ByteBufferWriter $out) :
void{
45 LE::writeFloat($out, $this->time);
46 CommonTypes::putVector3($out, $this->value);