C# Class OpenBve.Scripting.Signal

Provides scripting access to signals
Afficher le fichier Open project: leezer3/OpenBVE

Méthodes publiques

Méthode Description
CurrentAspect ( TrainManager Train, int SectionIndex, bool IsPartOfTrain ) : int

This method returns the current aspect of the selected section

Method Details

CurrentAspect() public static méthode

This method returns the current aspect of the selected section
public static CurrentAspect ( TrainManager Train, int SectionIndex, bool IsPartOfTrain ) : int
Train TrainManager The train for which we wish to get the section index
SectionIndex int The section to get the aspect for
IsPartOfTrain bool Defines whether we wish to get the section index for the selected train, or for when placed via a .SigF command
Résultat int