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

ModioGame

Ahmed Castro edited this page Jul 14, 2019 · 10 revisions

Game using the mod.io interface.

struct ModioGame
{
  u32 id;
  u32 status;
  u32 date_added;
  u32 date_updated;
  u32 presentation_option;
  u32 date_live;
  u32 community_options;
  u32 submission_option;
  u32 curation_option;
  u32 revenue_options;
  u32 api_access_options;
  char* ugc_name;
  char* homepage;
  char* name;
  char* name_id;
  char* summary;
  char* instructions;
  char* profile_url;
  ModioUser submitted_by;
  ModioIcon icon;
  ModioLogo logo;
  ModioHeader header;
  ModioGameTagOption* game_tag_option_array;
  u32 game_tag_option_array_size;
};
Name Type Description
id u32 Unique modfile id.
status u32 Status of the game. See the Status constants.
date_added u32 Unix timestamp of date game was registered.
date_updated u32 Unix timestamp of date game was updated.
date_live u32 Unix timestamp of date game was updated.
presentation_option u32 Status of the game. See the Presentation option constants.
community_options u32 Community features enabled on the mod.io website. See Community options.
submission_option u32 Submission process modders must follow. See Submission option.
curation_option u32 Curation process used to approve mods. See Curation Option.
revenue_options u32 Revenue capabilities mods can enable. See Revenue options.
api_access_options u32 Level of API access allowed by this game. See API Access options.
ugc_name char* Word used to describe user-generated content (mods, items, addons etc).
homepage char* Official homepage of the game.
name char* Name of the game.
name_id char* Subdomain for the game on mod.io.
summary char* Summary of the game.
instructions char* A guide about creating and uploading mods for this game to mod.io (applicable if submission_option = 0).
profile_url char* URL to the game's mod.io page.
submitted_by ModioUser ModioUser object.
icon ModioIcon ModioIcon object.
logo ModioLogo ModioLogo object.
header ModioHeader ModioHeader object.
game_tag_option_array ModioGameTagOption* ModioGameTagOption array. Groups of tags configured by the game developer, that mods can select.
game_tag_option_array_size u32 Game tag option array size.

See also: API, modio::Game

Contents

Clone this wiki locally