C# Класс OpenBve.Scripting.Signal

Provides scripting access to signals
Показать файл Открыть проект

Открытые методы

Метод Описание
CurrentAspect ( TrainManager Train, int SectionIndex, bool IsPartOfTrain ) : int

This method returns the current aspect of the selected section

Описание методов

CurrentAspect() публичный статический Метод

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
Результат int