Open Rails

MstsBlockState Enumeration

[This is preliminary documentation and subject to change.]

Describe the various states a block (roughly a region between two signals) can be in.

public enum MstsBlockState

Members

Member Name Description
CLEARBlock ahead is clear and accesible
OCCUPIEDBlock ahead is occupied by one or more wagons/locos not moving in opposite direction
JN_OBSTRUCTEDBlock ahead is impassable due to the state of a switch or occupied by moving train or not accesible

Requirements

Namespace: Orts.Formats.Msts

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

See Also

Orts.Formats.Msts Namespace