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
ModioModfile
Ahmed Castro edited this page Dec 3, 2017
·
9 revisions
API schema: Modfile Object
C++ Wrapper: Modfile
struct ModioModfile
{
u32 id;
u32 mod_id;
u32 virus_status;
u32 virus_positive;
long date_added;
long date_scanned;
long filesize;
char* filename;
char* version;
char* virustotal_hash;
char* changelog;
char* download_url;
ModioFilehash filehash;
};
The ModioModfile structure is returned by the Modfiles and Mods functions. They represent modfiles associated to mod.io mods.
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 | u32 |
Has the file been positively flagged as a virus? |
date_added | u32 |
Unix timestamp of file upload time |
date_scanned | u32 |
Unix timestamp of file virus scan |
filesize | long |
Size of the file in bytes |
filename | char* |
Name of the file including file extension |
version | char* |
The release version this file represents |
virustotal_hash | char* |
VirusTotal proprietary hash |
changelog | char* |
List of all changes in this file release |
download_url | char* |
Link to download the file from the mod.io CDN |
filehash | ModioFilehash |
ModioFilehash 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