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::Modfile
Ahmed Castro edited this page Aug 29, 2018
·
3 revisions
The ModioModfile structure is returned by the Modfiles and Mods functions. They represent modfiles associated to mod.io mods.
class Modfile
{
public:
u32 id;
u32 mod_id;
u32 virus_status;
u32 virus_positive;
long date_added;
long date_scanned;
long filesize;
std::string filename;
std::string version;
std::string virustotal_hash;
std::string changelog;
std::string metadata_blob;
modio::Filehash filehash;
modio::Download download;
};
API schema: Modfile Object
C compatible base object: ModioModfile
Name | Type | Description |
---|---|---|
id | u32 |
Unique modfile identifier |
mod_id | u32 |
Unique mod identifier |
virus_status | u32 |
The status of the virus scan for the file |
virus_positive | long |
Has the file been positively flagged as a virus? |
date_added | long |
Unix timestamp of file upload time |
date_scanned | long |
Unix timestamp of file virus scan |
filesize | long |
Size of the file in bytes |
filename | std::string |
Name of the file including file extension |
version | std::string |
The release version this file represents |
virustotal_hash | std::string |
VirusTotal proprietary hash |
changelog | std::string |
List of all changes in this file release |
metadata_blob | std::string |
Metadata stored by the game developer for this file. |
filehash | modio::Filehash |
modio::Filehash object |
download | modio::Download |
modio::Download object |
- 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