Open Rails

Path.GetPaths Method

[This is preliminary documentation and subject to change.]

Return a list of paths that belong to the given route.

public static List<Path> GetPaths(
   Route route,
   bool includeNonPlayerPaths
);

Parameters

route
The Route for which the paths need to be found
includeNonPlayerPaths
Selects whether non-player paths are included or not

See Also

Path Class | ORTS.Menu Namespace