Returns the actual name of a category with a given ID (such as from a mod's attributes).
The category ID/attribute.
Application state.
The name of the given category, or undefined if not found.
Returns the current discoverd location for a given game.
The app state
An additional relative path to append to the discovered path.
The requested game (or executable) path if available, or undefined.
Returns the current installation path for a given game.
The game object to retrieve the path for.
The app state
Whether to prefer the path to the game executable, or just the game directory.
The requested game (or executable) path if available, or undefined.
Gets a user-friendly name for a given mod object, or installation path.
The mod object to retrieve the name of.
Gets the mod name from an installation path.
The destination path from an installer function
Returns the mod type for the given mod (name if available, otherwise id)
The mod
The mod type's name if available, otherwise the mod type's ID, otherwise 'default'.
Checks whether a given game is the currently managed game.
The extension API object.
The game ID to check.
Checks whether a given game ID has been managed with Vortex regardless of any mods being installed for it.
The extension API.
The game ID.
Whether the given game is managed.
Checks if the given profile is a profile for the given game ID.
The extension API.
The ID of the profile to check.
The game ID to check against.
Checks if the given mod ID corresponds to a Nexus Mods-sourced mod.
The extension API.
The mod ID.
'true' if the mod is a Nexus-sourced mod, otherwise false.
Convenience function to convert an object of attributes (i.e. {"attributeName": "value"}
) into install instructions.
Dictionary of mod attributes to map.
Set of install instructions to set the required attributes.
Generated using TypeDoc
A collection of utility functions, objects and types for simplifying common logic in Vortex extensions.
Note that this default module only includes common utility components and some generic types. Check the other modules included in the package for more specialized components.
Import types from this module using