21 public function __construct(
22 private float $vehicleRotationX,
23 private float $vehicleRotationZ,
24 private int $predictedVehicleActorUniqueId
27 public function getVehicleRotationX() :
float{
return $this->vehicleRotationX; }
29 public function getVehicleRotationZ() :
float{
return $this->vehicleRotationZ; }
31 public function getPredictedVehicleActorUniqueId() :
int{
return $this->predictedVehicleActorUniqueId; }
38 return new self($vehicleRotationX, $vehicleRotationZ, $predictedVehicleActorUniqueId);
42 $out->putLFloat($this->vehicleRotationX);
43 $out->putLFloat($this->vehicleRotationZ);
44 $out->putActorUniqueId($this->predictedVehicleActorUniqueId);