Method | Description | |
---|---|---|
AddBlackBoxEntry ( BlackBoxEventToken EventToken ) : void | ||
AddDebugMessage ( string text, double duration ) : void | ||
AddMarker ( |
||
AddMarker ( int TextureIndex ) : void | ||
AddMessage ( string Text, MessageDependency Depencency, |
Adds a message to the in-game interface render queue
|
|
AddScore ( int Value, ScoreTextToken TextToken, double Duration, bool Count = true ) : void | ||
AddScore ( string Text, double Duration ) : void | ||
ApplyPointOfInterest ( int Value, bool Relative ) : bool | ||
CalculateSeaLevelConstants ( ) : void | ||
GetAirDensity ( double AirPressure, double AirTemperature ) : double | ||
GetAirPressure ( double Elevation, double AirTemperature ) : double | ||
GetAirTemperature ( double Elevation ) : double | ||
GetPluginSignal ( |
Gets the signal data for a plugin.
|
|
GetSpeedOfSound ( double AirDensity ) : double |
Calculates the speed of sound for a given air density
|
|
GetSpeedOfSound ( double AirPressure, double AirTemperature ) : double | ||
GetStopIndex ( int StationIndex, int Cars ) : int | ||
PlayerStopsAtStation ( int StationIndex ) : bool |
Indicates whether the player's train stops at a station.
|
|
RemoveMarker ( |
||
RemoveMarker ( int TextureIndex ) : void | ||
Reset ( ) : void | ||
Reset ( bool ResetLogs ) : void |
Call this function to reset the game
|
|
StopsAtStation ( int StationIndex, |
Indicates whether a train stops at a station.
|
|
UpdateAllSections ( ) : void | ||
UpdateBlackBox ( ) : void | ||
UpdateMessages ( ) : void | ||
UpdatePluginSections ( |
Updates the plugin to inform about sections.
|
|
UpdateScore ( double TimeElapsed ) : void |
This method should be called once a frame to update the player's score
|
|
UpdateScoreMessages ( double TimeElapsed ) : void | ||
UpdateSection ( int SectionIndex ) : void |