Limo
A simple mod manager
Loading...
Searching...
No Matches
AddModInfo Struct Reference

Stores data needed to install a new mod. More...

#include <addmodinfo.h>

Public Attributes

std::string name
 Name of the new mod.
 
std::string version
 Version of the new mod.
 
std::string installer
 Installer type to be used.
 
std::string source_path
 Path to the mods files.
 
std::vector< int > deployers
 Ids of deployers to which the new mod will be added.
 
int group
 Id of the mod the group of which the new mod will be added to, or -1 for no group.
 
int installer_flags
 Flags for the installer.
 
int root_level
 If > 0: Remove path components with depth < root_level.
 
std::vector< std::pair< std::filesystem::path, std::filesystem::path > > files
 Contains pairs of source and destination paths for installation files.
 
bool replace_mod = false
 If true: The newly installed mod will replace the mod specified in group.
 
std::filesystem::path local_source = ""
 Path to the local archive or directory used to install this mod.
 
std::string remote_source = ""
 URL from where the mod was downloaded.
 

Detailed Description

Stores data needed to install a new mod.


The documentation for this struct was generated from the following file: