#[repr(C)]pub struct VehicleUnoccupiedSyncPacket {
pub vehicle_id: i32,
pub player_id: i32,
pub seat_id: u8,
pub roll: Vector3,
pub rotation: Vector3,
pub position: Vector3,
pub velocity: Vector3,
pub angular_velocity: Vector3,
pub health: f32,
}Expand description
VehicleUnoccupiedSyncPacket in Server/Components/Vehicles/vehicles.hpp.
Fields§
§vehicle_id: i32VehicleID.
player_id: i32PlayerID.
seat_id: u8SeatID.
roll: Vector3Roll.
rotation: Vector3Rotation.
position: Vector3Position.
velocity: Vector3Velocity.
angular_velocity: Vector3AngularVelocity.
health: f32Health.
Trait Implementations§
Source§impl Clone for VehicleUnoccupiedSyncPacket
impl Clone for VehicleUnoccupiedSyncPacket
Source§fn clone(&self) -> VehicleUnoccupiedSyncPacket
fn clone(&self) -> VehicleUnoccupiedSyncPacket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VehicleUnoccupiedSyncPacket
Source§impl Debug for VehicleUnoccupiedSyncPacket
impl Debug for VehicleUnoccupiedSyncPacket
Source§impl Default for VehicleUnoccupiedSyncPacket
impl Default for VehicleUnoccupiedSyncPacket
Source§fn default() -> VehicleUnoccupiedSyncPacket
fn default() -> VehicleUnoccupiedSyncPacket
The C++ struct’s own defaults.
impl StructuralPartialEq for VehicleUnoccupiedSyncPacket
Source§impl VirtualReturn for VehicleUnoccupiedSyncPacket
impl VirtualReturn for VehicleUnoccupiedSyncPacket
Source§type Raw = VehicleUnoccupiedSyncPacket
type Raw = VehicleUnoccupiedSyncPacket
The type the foreign function is declared to return.
Source§fn from_raw(raw: VehicleUnoccupiedSyncPacket) -> VehicleUnoccupiedSyncPacket
fn from_raw(raw: VehicleUnoccupiedSyncPacket) -> VehicleUnoccupiedSyncPacket
The value the caller sees.
Auto Trait Implementations§
impl Freeze for VehicleUnoccupiedSyncPacket
impl RefUnwindSafe for VehicleUnoccupiedSyncPacket
impl Send for VehicleUnoccupiedSyncPacket
impl Sync for VehicleUnoccupiedSyncPacket
impl Unpin for VehicleUnoccupiedSyncPacket
impl UnsafeUnpin for VehicleUnoccupiedSyncPacket
impl UnwindSafe for VehicleUnoccupiedSyncPacket
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more