C# Класс KMP.LoadedFileInfo

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
FullPath string
LoadedPath string
ModDirectory string
ModPath string
SHA256 string

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

Метод Описание
HandleHash ( System state ) : void
LoadedFileInfo ( string filepath ) : System

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

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

public HandleHash ( System state ) : void
state System
Результат void

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

public LoadedFileInfo ( string filepath ) : System
filepath string
Результат System

Описание свойств

FullPath публичное свойство

The full absolute path on this computer. Uses the local system's directory separator character ('/' for Unix, '\' for Windows).
public string FullPath
Результат string

LoadedPath публичное свойство

The relative path starting at the KSP main directory. Uses Unix directory separator ('/') so it will match the server's mod config file.
public string LoadedPath
Результат string

ModDirectory публичное свойство

The directory that this mod has been loaded into (usually 'GameData', but could be 'Plugins' or 'Parts').
public string ModDirectory
Результат string

ModPath публичное свойство

The relative path starting in the 'GameData', 'Plugins', or 'Parts' directory (will not have that directory name included). Uses Unix directory separator ('/') so it will match the server's mod config file.
public string ModPath
Результат string

SHA256 публичное свойство

The SHA256 hash of this file.
public string SHA256
Результат string