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

ModioMod

Ahmed Castro edited this page Jan 9, 2018 · 20 revisions

The ModioMod structure is returned by the Mods (C compatible) functions. They represent mods created by the mod.io users.

struct ModioMod
{
  u32 id;
  u32 game_id;
  u32 status;
  u32 visible;
  long date_added;
  long date_updated;
  long date_live;
  char* homepage;
  char* name;
  char* name_id;
  char* summary;
  char* description;
  char* metadata_blob;
  char* profile_url;
  ModioLogo logo;
  ModioUser submitted_by;
  ModioModfile modfile;
  ModioMedia media;
  ModioRatingSummary rating_summary;
  ModioTag* tags_array;
  u32 tags_array_size;
};

API schema: Mod Object

C++ Wrapper: Mod

Name Type Description
id u32 Unique mod identifier
game_id u32 Unique game identifier
status u32 Status of the mod. See Mod status
visibility u32 Visibility of the mod. See Mod visibility
date_added long Unix timestamp of date registered
date_updated long Unix timestamp of date last updated
date_live long Unix timestamp of date when set live
dateup u32 Unix timestamp of date last updated
homepage char* Mod homepage URL
name char* Name of the mod
nameid char* Unique SEO-friendly mod uri
summary char* Brief summary of the mod
description char* Description of the mod
metadata_blob char* Metadata for the mod
profile_url char* Official website url for the mod
logo ModioLogo ModioLogo object containing logo data
submitted_by ModioUser ModioUser object containing user data
modfile ModioModfile ModioModfile object containing file data
media ModioMedia ModioMedia object containing media data
ratings ModioRatingSummary ModioRatingSummary object containing rating data
tags_array ModioTag* ModioTag object containing tags data
tags_array_size u32 Size of the tags_array

Contents

Clone this wiki locally