C# Class KMP.LoadedFileInfo

ファイルを表示 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_oe 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_oe 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_oe 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_oe 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_oe property

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