This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
modio::Stats
Ahmed Castro edited this page Jul 17, 2019
·
3 revisions
Mod statistics data.
class Stats
{
public:
u32 mod_id;
u32 popularity_rank_position;
u32 popularity_rank_total_mods;
u32 downloads_total;
u32 subscribers_total;
u32 ratings_total;
u32 ratings_positive;
u32 ratings_negative;
u32 ratings_percentage_positive;
double ratings_weighted_aggregate;
std::string ratings_display_text;
u32 date_expires;
void initialize(ModioStats mod);
};
Name | Type | Description |
---|---|---|
mod_id | u32 |
Unique mod id. |
popularity_rank_position | u32 |
Current rank of the mod. |
popularity_rank_total_mods | u32 |
Number of ranking spots the current rank is measured against. |
downloads_total | u32 |
Number of total mod downloads. |
subscribers_total | u32 |
Number of total users who have subscribed to the mod. |
ratings_total | u32 |
Number of times this item has been rated. |
ratings_positive | u32 |
Number of positive ratings. |
ratings_negative | u32 |
Number of negative ratings. |
ratings_percentage_positive | u32 |
Number of positive ratings, divided by the total ratings to determine it’s percentage score. |
ratings_weighted_aggregate | double |
Overall rating of this item. |
ratings_display_text | std::string |
Textual representation of the rating. |
date_expires | u32 |
Unix timestamp until this mods's statistics are considered stale. |
See also: API, ModioStats
- Home
- Table of Contents
- Getting Started
- SDK Methods
- Creators
- Editors
- Schemas
- modio::Avatar
- modio::Comment
- modio::Dependency
- modio::Download
- modio::Error
- modio::Filehash
- modio::Game
- modio::GameTagOption
- modio::Header
- modio::Icon
- modio::Image
- modio::InstalledMod
- modio::Logo
- modio::Media
- modio::MetadataKVP
- modio::Mod
- modio::ModEvent
- modio::Modfile
- modio::QueuedModDownload
- modio::QueuedModfileUpload
- modio::Rating
- modio::Response
- modio::Stats
- modio::Tag
- modio::User
- Debugging
- Constants
-
C Compatibility
- Methods
- Initialization, Process and Shutdown (C compatible)
- User Authentication (C compatible)
- Mods (C compatible)
- Modfiles (C compatible)
- Media (C compatible)
- Subscriptions (C compatible)
- Events (C compatible)
- Stats (C compatible)
- Tags (C compatible)
- Ratings (C compatible)
- Metadata KVP (C compatible)
- Dependencies (C compatible)
- Comments (C compatible)
- Reports (C compatible)
- Me (C compatible)
- Downloads (C compatible)
- Uploads (C compatible)
- Logs (C compatible)
- External Auth (C compatible)
- Configuration (C compatible)
- Creators
- Editors
- Schemas
- ModioAvatar
- ModioComment
- ModioDependency
- ModioDownload
- ModioError
- ModioFilehash
- ModioGame
- ModioGameTagOption
- ModioHeader
- ModioIcon
- ModioImage
- ModioInstalledMod
- ModioListNode
- ModioLogo
- ModioMedia
- ModioMetadataKVP
- ModioMod
- ModioModEvent
- ModioModfile
- ModioQueuedModDownload
- ModioQueuedModfileUpload
- ModioRating
- ModioResponse
- ModioStats
- ModioTag
- ModioUser
- Methods
- Building