Open Rails

RailDriverState Members

RailDriverState overview

Public Instance Constructors

RailDriverState Constructor Initializes a new instance of the RailDriverState class.

Public Instance Fields

BailOff
Changed
DirectionPercent
DynamicBrakePercent
Emergency
EngineBrakePercent
Lights
ThrottlePercent
TrainBrakePercent
Wipers

Public Instance Methods

AddButtonData Ors in new button data
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
Handled
IsDown
IsPressedOverloaded.
IsReleased
SaveButtonData Saves the latest button data and prepares to get new data
ToString

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

RailDriverState Class | Orts.Viewer3D Namespace