Skip to content

DriverDuty

Record · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll

public sealed record DriverDuty(string Line, string Tour, string Destination, string TripFile, int JourneyIndex, int NextStopIndex, int StopCount, string NextStop, int DelaySeconds, bool IsAtStop)

The timetable journey currently selected for the local player’s bus.

public int DelaySeconds { get; init; }
public string Destination { get; init; }
public bool IsAtStop { get; init; }
public int JourneyIndex { get; init; }
public float JourneyProgress { get; init; }

Continuous progress through the current journey, from 0 at its first stop to 1 at its terminus.

public string Line { get; init; }
public string NextStop { get; init; }
public int NextStopIndex { get; init; }
public int StopCount { get; init; }
public string Tour { get; init; }
public string TripFile { get; init; }