[−][src]Enum libraildriver::Value
The value you wish to target for an operation.
Variants
The current reverser setting (F/N/R). Usually:
1
: F0
: N-1
: R
The current throttle setting, usually between 0
and 100
. For locomotives and units with
a separate throttle and brake control.
The current combined throttle/brake setting, usually between -100
and 100
. For
locomotives and units with a combined throttle and brake.
The current gear, for trains fitted.
The train brake lever. Usually between 0
and 100
.
The locomotive brake lever. Usually between 0
and 100
.
The dynamic brake lever. Usually between 0
and 100
.
The emergency brake button. Usually operated by setting to 1
.
The hand brake. Usually operated by setting to 1
.
The warning system reset button. Usually operated by setting to 1
.
The engine start/stop button. Usually operated by setting to 1
.
The horn lever. Usually operated by setting to 1
.
The wipers switch. Usually operated by setting to 1
.
The sander. Usually operated by setting to 1
.
The headlights. Often operated by setting to 1
.
The pantograph switch. Usually raised by setting to 1
.
The firebox door. Usually opened by setting to 1
.
The exhaust-based steam injector. Usually between 0
and 100
.
The exhaust-based water injector. Usually between 0
and 100
.
The live steam injector. Usually between 0
and 100
.
The live water injector. Usually between 0
and 100
.
The damper. Usually actuated between 0
and 100
.
The blower valve. Usually opened between 0
and 100
.
Stoking. Usually stoking when set to 1
.
The cylinder cocks. Usually opened when set to 1
.
The waterscoop. Usually operated when set to 1
.
Currently undocumented.
Get only: The state of the AWS.
Set only: The AWS reset button, depressed when set to 1
.
Whether the unit is in startup
Get only: The current speed of the unit.
The save event, usually triggered by F2
, triggered when set to 1
.
Toggle labels, triggered when set to 1
.
The 2D Map, usually triggered by 9
, triggered when set to 1
.
Toggle the HUD visibilty, usually triggered by F3
or F4
, triggered when set to 1
.
Currently undocumented.
Pause the game, triggered when set to 1
.
Currently undocumented.
Show the rail vehicle number, enabled when set to 1
.
Close the dialog given to you by an assignment in a scenario.
Switch the set of points to the front of the train, triggered when set to 1
.
Switch the set of points to the rear of the train, triggered when set to 1
.
The load cargo event, triggered when set to 1
.
The unload cargo action, triggered when set to 1
.
Request to pass a signal at danger to the front of the train, usually triggered by Tab
,
triggered when set to 1
.
Request to pass a signal at danger to the rear of the train, usually triggered by
Shift Tab
, triggered when set to 1
.
Manual coupling, triggered when set to 1
.
The cab camera, usually operated by pressing 1
, switched to by setting to 1
.
The follow camera, usually operated by pressing 2
, switched to by setting to 1
.
The head-out-window camera, usually operated by pressing Shift 2
, switched to by setting
to 1
.
The rear camera, usually operated by pressing 3
, switched to by setting to 1
.
The track-side camera, usually operated by pressing 4
, switched to by setting to 1
.
The passenger-view (carriage) camera, usually operated by pressing 5
, switched to by
setting to 1
.
The coupling camera, usually operated by pressing 6
, switched to by setting to 1
.
The yard camera, usually operated by pressing 7
, switched to by setting to 1
.
Cab camera switch, usually operated by pressing Ctrl +
, switched to by setting to 1
.
Cab camera switch, usually operated by pressing Ctrl -
, switched to by setting to 1
.
The free camera, usually operated by pressing 8
, switched to by setting to 1
.
Trait Implementations
Auto Trait Implementations
impl Send for Value
impl Unpin for Value
impl Sync for Value
impl UnwindSafe for Value
impl RefUnwindSafe for Value
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,