C# 클래스 OpenBve.Scripting.Signal

Provides scripting access to signals
파일 보기 프로젝트 열기: leezer3/OpenBVE

공개 메소드들

메소드 설명
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