Vixen
c7401864
csharp
public sealed class Vehicle

A vehicle with its seats compiled.

Read the guide page for this →

Fields and properties (9)

  • public VehicleDefinition Definition

    What it was compiled from.

  • public DefId Id

    Its id.

  • public string DisplayName

    What it is called.

  • public VehicleKind Kind

    What sort it is.

  • public GameplayTag Tag

    What being in it is.

  • public ReadOnlySpan<Seat> Seats

    Its seats.

  • public int DriverSeat

    Which seat steers, or −1.

  • public bool PassengersMaySteer

    Whether a passenger may take the wheel when it is empty.

  • public VehiclePhysicsDefinition Physics

    What the physics wants.

Methods (1)

  • public int IndexOf(string? id)

    Finds a seat.

Used by (3)

  • MovementLibraryVixen.Gameplay.Movement
  • VehicleInstanceVixen.Gameplay.Movement
  • VehicleTestsVixen.Gameplay.Movement.Tests