Zone train state
Enum value represeting the state of a train related to a zone. For long trains and/or short zones it is possible that a train is LEAVING before it fully ENTERED the zone, in that case LEAVING takes preference over ENTERING.
Constants
enum.zone_train_state.ENTERED
The train is in the zone, it does not occupy any block outside the zone.
enum.zone_train_state.ENTERING
The front of the train is in or has reserved at least one block of the zone.
enum.zone_train_state.LEAVING
The front of the train is in or has reserved at least one block that is not of the zone.
enum.zone_train_state.UNKNOWN
The state is unknown, this value isn't used, it can be used for initialization purposes.