35 std::vector<std::pair<std::filesystem::path, std::filesystem::path>>
files;
Stores data needed to install a new mod.
Definition addmodinfo.h:17
std::string source_path
Path to the mods files.
Definition addmodinfo.h:25
std::filesystem::path local_source
Path to the local archive or directory used to install this mod.
Definition addmodinfo.h:39
int group
Id of the mod the group of which the new mod will be added to, or -1 for no group.
Definition addmodinfo.h:29
std::vector< int > deployers
Ids of deployers to which the new mod will be added.
Definition addmodinfo.h:27
bool replace_mod
If true: The newly installed mod will replace the mod specified in group.
Definition addmodinfo.h:37
int installer_flags
Flags for the installer.
Definition addmodinfo.h:31
std::vector< std::pair< std::filesystem::path, std::filesystem::path > > files
Contains pairs of source and destination paths for installation files.
Definition addmodinfo.h:35
std::string name
Name of the new mod.
Definition addmodinfo.h:19
int root_level
If > 0: Remove path components with depth < root_level.
Definition addmodinfo.h:33
std::string installer
Installer type to be used.
Definition addmodinfo.h:23
std::string remote_source
URL from where the mod was downloaded.
Definition addmodinfo.h:41
std::string version
Version of the new mod.
Definition addmodinfo.h:21