43 std::chrono::time_point<std::chrono::high_resolution_clock>
queue_time =
44 std::chrono::high_resolution_clock::now();
Stores data needed to download or extract a mod.
Definition importmodinfo.h:17
std::filesystem::path target_path
This is where the mod should be stored after extraction/ download.
Definition importmodinfo.h:36
int mod_id
If !=-1: The mod should be added to this mods group after installation.
Definition importmodinfo.h:41
bool operator<(const ImportModInfo &other) const
Compares with another ImportModInfo object by their type.
Definition importmodinfo.h:55
std::chrono::time_point< std::chrono::high_resolution_clock > queue_time
Time at which this object was added to the queue. Used for sorting.
Definition importmodinfo.h:43
int app_id
Target ModdedApplication.
Definition importmodinfo.h:25
int nexus_file_id
If remote_source is a NexusMods mod page: The id of the file to be downloaded, else: Not set.
Definition importmodinfo.h:39
Type
Describes what import action should be taken.
Definition importmodinfo.h:20
std::filesystem::path local_source
Path to the local file used for extraction or empty if type == download.
Definition importmodinfo.h:29
std::string name_overwrite
If this is not empty: Use this as mod name.
Definition importmodinfo.h:48
Type type
Type of action to be performed.
Definition importmodinfo.h:27
std::string version_overwrite
If this is not empty: Use this as mod version.
Definition importmodinfo.h:46
std::string remote_source
URL used to download the mod. Can be either a URL pointing to the mod itself or a NexusMods nxm URL.
Definition importmodinfo.h:34