C# Class KMP.LoadedFileInfo

Show file Open project: TehGimp/KerbalMultiPlayer Class Usage Examples

Public Properties

Property Type Description
FullPath string
LoadedPath string
ModDirectory string
ModPath string
SHA256 string

Public Methods

Method Description
HandleHash ( System state ) : void
LoadedFileInfo ( string filepath ) : System

Method Details

HandleHash() public method

public HandleHash ( System state ) : void
state System
return void

LoadedFileInfo() public method

public LoadedFileInfo ( string filepath ) : System
filepath string
return System

Property Details

FullPath public property

The full absolute path on this computer. Uses the local system's directory separator character ('/' for Unix, '\' for Windows).
public string FullPath
return string

LoadedPath public property

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
return string

ModDirectory public property

The directory that this mod has been loaded into (usually 'GameData', but could be 'Plugins' or 'Parts').
public string ModDirectory
return string

ModPath public property

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
return string

SHA256 public property

The SHA256 hash of this file.
public string SHA256
return string