31 Mod(
const std::string& http_body);
37 Mod(
const Json::Value& json_body);
98 void init(
const Json::Value& json_body);
std::string user_name
Name of the uploader.
Definition mod.h:88
std::string uploaded_users_profile_url
URL to the NexusMods account which uploaded the mod.
Definition mod.h:76
bool allow_rating
If true: Mod can be rated.
Definition mod.h:58
void init(const Json::Value &json_body)
Initializes all members from the given http response body in json form generated through an API reque...
Definition mod.cpp:24
long mod_downloads
Total number of downloads for the mod.
Definition mod.h:48
Mod(const Json::Value &json_body)
Constructor. Initializes all members from the given http response body in json form generated through...
std::string summary
A summary of the mods contents.
Definition mod.h:42
bool contains_adult_content
True if the mod contains adult content.
Definition mod.h:78
long uid
Purpose unknown.
Definition mod.h:52
std::time_t created_time
Timestamp for when the mod was first uploaded to NexusMods.
Definition mod.h:68
long user_member_group_id
A group id for the uploader.
Definition mod.h:86
long endorsement_count
Number of endorsements of the mod.
Definition mod.h:66
std::string domain_name
Name of the NexusMods domain containing the mod.
Definition mod.h:60
std::string author
Name of the mods author.
Definition mod.h:72
std::string name
Name of the mod.
Definition mod.h:40
long game_id
Id of the NexusMods domain containing the mod.
Definition mod.h:56
long category_id
Id of the NexusMods mod category for the mod.
Definition mod.h:62
long user_member_id
User id of the uploader.
Definition mod.h:84
std::string version
Most recent mod version.
Definition mod.h:64
std::string endorsement_status
Endorsement status of the mod for the account used to fetch the mod data.
Definition mod.h:90
std::string status
The current status of the mod, e.g. Published.
Definition mod.h:80
std::time_t updated_time
Timestamp for when the mod was first last updated.
Definition mod.h:70
bool available
True if the mod is available........
Definition mod.h:82
std::string picture_url
URL of the main image representing the mod.
Definition mod.h:46
std::string uploaded_by
Name of the mod uploader.
Definition mod.h:74
long mod_unique_downloads
Total number of unique downloads for the mod.
Definition mod.h:50
std::string description
The long form description of the mod.
Definition mod.h:44
Mod()=default
Default constructor.
long mod_id
NexusMods mod id.
Definition mod.h:54
The nexus namespace contains structs and functions needed for accessing the NexusMods API.
Definition api.h:18