Skip to content

KeyHintContext

public sealed class KeyHintContext

Namespace Chassis.Api

Added in 1.1.0

Where the local player is while the key hint strip asks an entry whether it shows.

public LandVehicle Vehicle { get; internal set; }

Added in 1.1.0

The vehicle the local player sits in or pushes.

public ChassisProfile Profile { get; internal set; }

Type: ChassisProfile

Added in 1.1.0

The vehicle’s Chassis profile, or null when Chassis leaves the vehicle to vanilla.

public int Seat { get; internal set; }

Added in 1.1.0

Vanilla seat index of the local player; -1 while pushing.

public bool Driver { get; internal set; }

Added in 1.1.0

The local player drives.

public bool Pushing { get; internal set; }

Added in 1.1.0

The local player pushes the vehicle from behind (ChassisApi.PoseAsPusher) instead of sitting in it.