29 private float $fieldOfView,
30 private float $easeTime,
31 private int $easeType,
35 public function getFieldOfView() : float{ return $this->fieldOfView; }
37 public function getEaseTime() : float{ return $this->easeTime; }
42 public function getEaseType() : int{ return $this->easeType; }
44 public function getClear() : bool{ return $this->clear; }
46 public static function read(ByteBufferReader $in) : self{
47 $fieldOfView = LE::readFloat($in);
48 $easeTime = LE::readFloat($in);
49 $easeType = Byte::readUnsigned($in);
50 $clear = CommonTypes::getBool($in);
59 public function write(ByteBufferWriter $out) : void{
60 LE::writeFloat($out, $this->fieldOfView);
61 LE::writeFloat($out, $this->easeTime);
62 Byte::writeUnsigned($out, $this->easeType);
63 CommonTypes::putBool($out, $this->clear);