ModioModfile - modio/modio-sdk-legacy GitHub Wiki
Files attached to mod profiles.
struct ModioModfile
{
u32 id;
u32 mod_id;
u32 virus_status;
u32 virus_positive;
u32 date_added;
u32 date_scanned;
long filesize;
char* filename;
char* version;
char* virustotal_hash;
char* changelog;
char* metadata_blob;
ModioFilehash filehash;
ModioDownload download;
};
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 |
metadata_blob | char* |
Metadata stored by the game developer for this file. |
filehash | ModioFilehash |
ModioFilehash object |
download | ModioDownload |
ModioDownload object |
See also: API, modio::Modfile