Open Rails

PathFile Class

[This is preliminary documentation and subject to change.]

Paths for both player train as well as AI trains. This class reads and stores the MSTS .pat file. Because of the format of the .pat file it is easier to have an intermediate format that just contains the data of the .pat file and create the wanted data scructure from that. It is the intention that it is only used for * ORTS main menu * postprocessing by TrainPath.

For a list of all members of this type, see PathFile Members .

System.Object
   PathFile

public class PathFile

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Orts.Formats.Msts

Assembly: Orts.Formats.Msts (in Orts.Formats.Msts.dll)

See Also

PathFile Members | Orts.Formats.Msts Namespace