Contains data for a mod on NexusMods.
More...
#include <mod.h>
|
| Mod ()=default |
| Default constructor.
|
|
| Mod (const std::string &http_body) |
| Constructor. Initializes all members from the given http response body generated through an API request.
|
|
| Mod (const Json::Value &json_body) |
| Constructor. Initializes all members from the given http response body in json form generated through an API request.
|
|
|
std::string | name |
| Name of the mod.
|
|
std::string | summary |
| A summary of the mods contents.
|
|
std::string | description |
| The long form description of the mod.
|
|
std::string | picture_url |
| URL of the main image representing the mod.
|
|
long | mod_downloads |
| Total number of downloads for the mod.
|
|
long | mod_unique_downloads |
| Total number of unique downloads for the mod.
|
|
long | uid |
| Purpose unknown.
|
|
long | mod_id |
| NexusMods mod id.
|
|
long | game_id |
| Id of the NexusMods domain containing the mod.
|
|
bool | allow_rating |
| If true: Mod can be rated.
|
|
std::string | domain_name |
| Name of the NexusMods domain containing the mod.
|
|
long | category_id |
| Id of the NexusMods mod category for the mod.
|
|
std::string | version |
| Most recent mod version.
|
|
long | endorsement_count |
| Number of endorsements of the mod.
|
|
std::time_t | created_time |
| Timestamp for when the mod was first uploaded to NexusMods.
|
|
std::time_t | updated_time |
| Timestamp for when the mod was first last updated.
|
|
std::string | author |
| Name of the mods author.
|
|
std::string | uploaded_by |
| Name of the mod uploader.
|
|
std::string | uploaded_users_profile_url |
| URL to the NexusMods account which uploaded the mod.
|
|
bool | contains_adult_content |
| True if the mod contains adult content.
|
|
std::string | status |
| The current status of the mod, e.g. Published.
|
|
bool | available |
| True if the mod is available........
|
|
long | user_member_id |
| User id of the uploader.
|
|
long | user_member_group_id |
| A group id for the uploader.
|
|
std::string | user_name |
| Name of the uploader.
|
|
std::string | endorsement_status |
| Endorsement status of the mod for the account used to fetch the mod data.
|
|
|
void | init (const Json::Value &json_body) |
| Initializes all members from the given http response body in json form generated through an API request.
|
|
Contains data for a mod on NexusMods.
◆ Mod() [1/2]
Mod::Mod |
( |
const std::string & | http_body | ) |
|
Constructor. Initializes all members from the given http response body generated through an API request.
- Parameters
-
http_body | The http response body. |
◆ Mod() [2/2]
nexus::Mod::Mod |
( |
const Json::Value & | json_body | ) |
|
Constructor. Initializes all members from the given http response body in json form generated through an API request.
- Parameters
-
http_body | The http response body in json form. |
◆ init()
void Mod::init |
( |
const Json::Value & | json_body | ) |
|
|
private |
Initializes all members from the given http response body in json form generated through an API request.
- Parameters
-
http_body | The http response body in json form. |
The documentation for this class was generated from the following files:
- src/core/nexus/mod.h
- src/core/nexus/mod.cpp