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

modio::Modfile

Ahmed Castro edited this page Jul 17, 2019 · 3 revisions

Files attached to mod profiles.

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;
};
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

See also: API, ModioModfile

Contents

Clone this wiki locally