Class Junction
From TrainzOnline
- The interface methods to control and obtain information about the status of a Junction can be found in the JunctionBase parent class.
- Capability generic to trackside items can be found in the Trackside class, which Junction also inherits from.
Related Messages
- Messages sent to and from Junction objects are listed below:
| Major | Minor | Source | Destination |
| Junction | Toggled | Junction | Broadcast |
| Junction | Enter | Junction | Train |
| Junction | InnerEnter | Junction | Train |
| Junction | Stopped | Junction | Train |
| Junction | InnerLeave | Junction | Train |
| Junction | Leave | Junction | Train |
| Object | Enter | Train | Junction |
| Object | InnerEnter | Train | Junction |
| Object | Stopped | Train | Junction |
| Object | InnerLeave | Train | Junction |
| Object | Leave | Train | Junction |