![]() |
Limo
A simple mod manager
|
Stores information about a mod as well as the group and deployers it belongs to. More...
#include <modinfo.h>
Public Member Functions | |
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. | |
Public Attributes | |
Mod | mod |
Contains information about the mod itself. | |
std::vector< std::string > | deployers |
Names of all deployers the mod belongs to. | |
std::vector< int > | deployer_ids |
Ids of all deployers the mod belongs to. | |
std::vector< bool > | deployer_statuses |
The mods activation status for every deployer it belongs to. | |
int | group = -1 |
Group this mod belongs to. If == -1: Mod belongs to no group. | |
bool | is_active_group_member = false |
If true: Mod is the active member of its group. | |
std::vector< std::string > | manual_tags |
Contains the names of all manual tags added to this mod. | |
std::vector< std::string > | auto_tags |
Contains the names of all auto tags added to this mod. | |
Stores information about a mod as well as the group and deployers it belongs to.
|
inline |
Constructor. Simply initializes members.
id | The mod's id. |
name | The mod's name. |
version | The mod's version. |
install_time | Timestamp indicating when the mod was installed. |
local_source | Source archive for the mod. |
remote_source | URL from where the mod was downloaded. |
remote_update_time | Timestamp for when the mod was updated at the remote source. |
size | Total size of the installed mod on disk. |
suppress_time | Timestamp for when the user requested to suppress current update notifications. |
deployer_names | Names of all deployers the mod belongs to. |
deployer_ids | Ids of all deployers the mod belongs to. |
statuses | The mods activation status for every deployer it belongs to. |
group | Group this mod belongs to. If == -1: Mod belongs to no group. |
is_active_member | If true: Mod is the active member of it's group. |
man_tags | The names of all manual tags for this mod. |