C# Class OpenBveApi.Runtime.ElapseData

Represents data given to the plugin in the Elapse call.
Afficher le fichier Open project: leezer3/OpenBVE Class Usage Examples

Méthodes publiques

Méthode Description
ElapseData ( VehicleState vehicle, PrecedingVehicleState precedingVehicle, Handles handles, Time totalTime, Time elapsedTime, List stations, CameraViewMode cameraView, string languageCode ) : System

Creates a new instance of this class.

Method Details

ElapseData() public méthode

Creates a new instance of this class.
public ElapseData ( VehicleState vehicle, PrecedingVehicleState precedingVehicle, Handles handles, Time totalTime, Time elapsedTime, List stations, CameraViewMode cameraView, string languageCode ) : System
vehicle VehicleState The state of the train.
precedingVehicle PrecedingVehicleState The state of the preceding train, or a null reference if there is no preceding train.
handles Handles The virtual handles.
totalTime Time The current absolute time.
elapsedTime Time The elapsed time since the last call to Elapse.
stations List The current route's list of stations.
cameraView CameraViewMode The current camera view mode
languageCode string The current language code
Résultat System