Open Rails

DeadlockInfo.SetTrainDetails Method

[This is preliminary documentation and subject to change.]

public int SetTrainDetails(
   int trainNumber,
   int subpathRef,
   float trainLength,
   TCSubpathRoute subpath,
   int elementRouteIndex
);

See Also

DeadlockInfo Class | ORTS Namespace