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

modio::Game

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

Game using the mod.io interface.

class Game
{
public:
  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;
  std::string ugc_name;
  std::string homepage;
  std::string name;
  std::string name_id;
  std::string summary;
  std::string instructions;
  std::string profile_url;
  User submitted_by;
  Icon icon;
  Logo logo;
  Header header;
  std::vector<GameTagOption> game_tag_options;
};
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 std::string Word used to describe user-generated content (mods, items, addons etc).
homepage std::string Official homepage of the game.
name std::string Name of the game.
name_id std::string Subdomain for the game on mod.io.
summary std::string Summary of the game.
instructions std::string A guide about creating and uploading mods for this game to mod.io (applicable if submission_option = 0).
profile_url std::string URL to the game's mod.io page.
submitted_by User modio::User object.
icon Icon modio::Icon object.
logo Logo modio::Logo object.
header Header modio::Header object.
game_tag_options std::vector<GameTagOption> modio::GameTagOption vector. Groups of tags configured by the game developer, that mods can select.

See also: API, ModioGame

Contents

Clone this wiki locally