31 int priority = -std::numeric_limits<int>::max();
The fomod namespace contains classes used for parsing a FOMOD xml file and for creating an installer.
Definition dependency.h:22
Holds data regarding the installation of a single file in a fomod configuration.
Definition file.h:21
bool operator==(const File &other) const
Compares two File objects by their destination.
Definition file.h:38
bool always_install
If True: Always install, regardless of selection.
Definition file.h:27
bool operator<(const File &other) const
Compares two File objects by their priority.
Definition file.h:47
bool install_if_usable
If True: Always install if dependencies are fulfilled.
Definition file.h:29
int priority
If two files share a destination, the higher priority file gets installed.
Definition file.h:31
std::filesystem::path destination
Destination path, relative to target root.
Definition file.h:25
std::filesystem::path source
Source path, relative to mods root directory.
Definition file.h:23