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.
Properties
Section titled “Properties”DelaySeconds
Section titled “DelaySeconds”public int DelaySeconds { get; init; }Destination
Section titled “Destination”public string Destination { get; init; }IsAtStop
Section titled “IsAtStop”public bool IsAtStop { get; init; }JourneyIndex
Section titled “JourneyIndex”public int JourneyIndex { get; init; }JourneyProgress
Section titled “JourneyProgress”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; }NextStop
Section titled “NextStop”public string NextStop { get; init; }NextStopIndex
Section titled “NextStopIndex”public int NextStopIndex { get; init; }StopCount
Section titled “StopCount”public int StopCount { get; init; }public string Tour { get; init; }TripFile
Section titled “TripFile”public string TripFile { get; init; }