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::Mod
Ahmed Castro edited this page Aug 29, 2018
·
6 revisions
The Mod structure is returned by the Mods functions. They represent mods created by the mod.io users.
class Mod
{
public:
u32 id;
u32 game_id;
u32 status;
u32 visible;
u32 maturity_option;
u32 date_added;
u32 date_updated;
u32 date_live;
std::string homepage_url;
std::string name;
std::string name_id;
std::string summary;
std::string description;
std::string description_plaintext;
std::string metadata_blob;
std::string profile_url;
Logo logo;
User submitted_by;
Modfile modfile;
Media media;
Stats stats;
std::vector<Tag> tags;
std::vector<MetadataKVP> metadata_kvps;
};
API schema: Mod Object
C compatible base object: ModioMod
Name | Type | Description |
---|---|---|
id | u32 |
Unique mod identifier |
game_id | u32 |
Unique game identifier |
status | u32 |
Status of the mod. See Status |
visible | u32 |
Mod visibility |
status | u32 |
Mod Status |
date_added | long |
Unix timestamp of date registered |
date_updated | long |
Unix timestamp of date last updated |
date_live | long |
Unix timestamp of date when set live |
homepage_url | std::string |
Mod homepage URL |
name | std::string |
Name of the mod |
nameid | std::string |
Unique SEO-friendly mod uri |
summary | std::string |
Brief summary of the mod |
description | std::string |
Description of the mod |
description_plaintext | std::string |
Description of the mod converted into plaintext |
metadata_blob | std::string |
Metadata for the mod |
profile_url | std::string |
Official website url for the mod |
logo | modio::Logo |
modio::Logo object containing logo data |
submitted_by | modio::User |
modio::User object containing user data |
modfile | modio::Modfile |
modio::Modfile object containing file data |
media | modio::Media |
modio::Media object containing media data |
stats | modio::Stats |
modio::Stats object containing stats data. |
tags | std::vector<modio::Tag> |
modio::Tag vector containing tags data |
metadata_kvps | std::vector<MetadataKVP> |
modio::MetadataKVP vector containing metadata key value pairs |
- 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