Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

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

Contents

Clone this wiki locally