C# Класс EddiCompanionAppService.ShipsConfiguration

Storage of configuration for Elite: Dangerous ships as obtained by the Companion App
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
FromFile ( string filename = null ) : ShipsConfiguration

Obtain ships configuration from a file. If the file name is not supplied the the default path of Constants.Data_DIR\ships.json is used

ShipsConfiguration ( ) : EddiDataDefinitions
ToFile ( string filename = null ) : void

Write configuration to a file. If the filename is not supplied then the path used when reading in the configuration will be used, or the default path of Constants.Data_DIR\ships.json will be used

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

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

Obtain ships configuration from a file. If the file name is not supplied the the default path of Constants.Data_DIR\ships.json is used
public static FromFile ( string filename = null ) : ShipsConfiguration
filename string
Результат ShipsConfiguration

ShipsConfiguration() публичный Метод

public ShipsConfiguration ( ) : EddiDataDefinitions
Результат EddiDataDefinitions

ToFile() публичный Метод

Write configuration to a file. If the filename is not supplied then the path used when reading in the configuration will be used, or the default path of Constants.Data_DIR\ships.json will be used
public ToFile ( string filename = null ) : void
filename string
Результат void