56 const std::string& name,
58 const std::time_t& install_time,
59 const std::filesystem::path& local_source,
60 const std::string& remote_source,
61 const std::time_t& remote_update_time,
63 const std::time_t& suppress_time,
64 const std::vector<std::string>& deployer_names,
66 const std::vector<bool>& statuses,
68 bool is_active_member,
69 const std::vector<std::string>& man_tags,
70 const std::vector<std::string>& au_tags) :
Stores information about an installed mod.
Definition mod.h:17
std::vector< bool > deployer_statuses
The mods activation status for every deployer it belongs to.
Definition modinfo.h:26
std::vector< std::string > manual_tags
Contains the names of all manual tags added to this mod.
Definition modinfo.h:32
int group
Group this mod belongs to. If == -1: Mod belongs to no group.
Definition modinfo.h:28
std::vector< std::string > auto_tags
Contains the names of all auto tags added to this mod.
Definition modinfo.h:34
ModInfo(int id, const std::string &name, const std::string &version, const std::time_t &install_time, const std::filesystem::path &local_source, const std::string &remote_source, const std::time_t &remote_update_time, unsigned long size, const std::time_t &suppress_time, const std::vector< std::string > &deployer_names, const std::vector< int > &deployer_ids, const std::vector< bool > &statuses, int group, bool is_active_member, const std::vector< std::string > &man_tags, const std::vector< std::string > &au_tags)
Constructor. Simply initializes members.
Definition modinfo.h:55
bool is_active_group_member
If true: Mod is the active member of its group.
Definition modinfo.h:30
Mod mod
Contains information about the mod itself.
Definition modinfo.h:20
std::vector< std::string > deployers
Names of all deployers the mod belongs to.
Definition modinfo.h:22
std::vector< int > deployer_ids
Ids of all deployers the mod belongs to.
Definition modinfo.h:24