24    public function __construct(
 
   25        private float $vehicleRotationX,
 
   26        private float $vehicleRotationZ,
 
   27        private int $predictedVehicleActorUniqueId
 
   30    public function getVehicleRotationX() : 
float{ 
return $this->vehicleRotationX; }
 
   32    public function getVehicleRotationZ() : 
float{ 
return $this->vehicleRotationZ; }
 
   34    public function getPredictedVehicleActorUniqueId() : 
int{ 
return $this->predictedVehicleActorUniqueId; }
 
   36    public static function read(ByteBufferReader $in) : 
self{
 
   37        $vehicleRotationX = LE::readFloat($in);
 
   38        $vehicleRotationZ = LE::readFloat($in);
 
   39        $predictedVehicleActorUniqueId = CommonTypes::getActorUniqueId($in);
 
   41        return new self($vehicleRotationX, $vehicleRotationZ, $predictedVehicleActorUniqueId);
 
   44    public function write(ByteBufferWriter $out) : 
void{
 
   45        LE::writeFloat($out, $this->vehicleRotationX);
 
   46        LE::writeFloat($out, $this->vehicleRotationZ);
 
   47        CommonTypes::putActorUniqueId($out, $this->predictedVehicleActorUniqueId);