C# 클래스 OpenBveApi.Packages.Information

Provides information functions for OpenBVE packages
파일 보기 프로젝트 열기: leezer3/OpenBVE

공개 메소드들

메소드 설명
CheckVersion ( Package currentPackage, List packageList, Package &oldPackage ) : VersionInformation

Checks to see if this package is currently installed, and if so whether there is another version installed

UpgradeDowngradeDependancies ( Package currentPackage, List installedRoutes, List installedTrains ) : List

Checks to see if upgrading or downgrading this package will break any dependancies

메소드 상세

CheckVersion() 공개 정적인 메소드

Checks to see if this package is currently installed, and if so whether there is another version installed
public static CheckVersion ( Package currentPackage, List packageList, Package &oldPackage ) : VersionInformation
currentPackage Package The package to check
packageList List The list of currently installed packages
oldPackage Package Returns via 'ref' the current package installed
리턴 VersionInformation

UpgradeDowngradeDependancies() 공개 정적인 메소드

Checks to see if upgrading or downgrading this package will break any dependancies
public static UpgradeDowngradeDependancies ( Package currentPackage, List installedRoutes, List installedTrains ) : List
currentPackage Package
installedRoutes List
installedTrains List
리턴 List