C# Класс OpenBveApi.Packages.Information

Provides information functions for OpenBVE packages
Показать файл Открыть проект

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

Метод Описание
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