Method | Description | |
---|---|---|
AddInterfaceMessage ( string Message, MessageColor Color, double Time ) : void |
May be called from a .Net plugin, in order to add a message to the in-game display
|
|
BeginJump ( InitializationModes mode ) : void | ||
DoorChange ( DoorStates oldState, DoorStates newState ) : void | ||
Elapse ( |
||
EndJump ( ) : void | ||
HornBlow ( HornTypes type ) : void | ||
KeyDown ( VirtualKeys key ) : void | ||
KeyUp ( VirtualKeys key ) : void | ||
Load ( |
||
NetPlugin ( string pluginFile, string trainFolder, IRuntime api, |
Initialises a new instance of a .Net based plugin
|
|
PerformAI ( |
||
PlaySound ( int index, double volume, double pitch, bool looped ) : SoundHandleEx |
May be called from a .Net plugin, in order to play a sound from the driver's car of a train
|
|
PlaySound ( int index, double volume, double pitch, bool looped, int CarIndex ) : SoundHandleEx |
May be called from a .Net plugin, in order to play a sound from a specific car of a train
|
|
SetBeacon ( |
||
SetBrake ( int brakeNotch ) : void | ||
SetPower ( int powerNotch ) : void | ||
SetReverser ( int reverser ) : void | ||
SetSignal ( |
||
Unload ( ) : void |