KspPaths Class |
Namespace: KSPDev.FSUtils
The KspPaths type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | pluginsRoot | Returns full path to the plugins root folder (a.k.a. GameData). |
Name | Description | |
---|---|---|
![]() ![]() | GetModsDataFilePath | Returns a relative game's path to the file located in the data folder. |
![]() ![]() ![]() | GetModsPath(Object) | Returns a relative game's path to the mod's root folder. |
![]() ![]() ![]() | GetModsPath(Type) | Returns a relative game's path to the mod's root folder. |
![]() ![]() | MakeAbsPathForGameData |
Makes full absolute path from the provided relative path in the game's GameData folder.
|
![]() ![]() ![]() | MakeRelativePathToGameData | Returns path relative to the game's GameData folder. |
![]() ![]() | NormalizePath |
Normalizes path by resolving all upcasts. Works for both relative and absolute paths.
|
Name | Description | |
---|---|---|
![]() ![]() | PluginDataFolderName |
A standard name to place the configs that should be ignored by the game's core.
|
![]() ![]() | PluginFolderName | A standard directory name to place the mod's binary. |
![]() ![]() | pluginsRootFolder | Standard plug-ins folder. |