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

modio::User

Ahmed Castro edited this page Aug 29, 2018 · 3 revisions

The ModioUser object represent mod.io users associated with Mods.

class User
{
public:
  u32 id;
  long date_online;
  std::string username;
  std::string name_id;
  std::string timezone;
  std::string language;
  std::string profile_url;
  modio::Avatar avatar;
};

API schema: User Object

C compatible base object: ModioUser

Name Type Description
id u32 Unique user identifier
date_online long Last online date time
username std::string Non-unique username of the user
name_id std::string Unique nameid of user which forms end of their profile URL
timezone std::string The Timezone of the user, shown in {Country}/{City} format
language std::string The users language preference, limited to two characters
profile_url std::string URL to the user's mod.io profile page
avatar Avatar modio::Avatar object containing avatar data

Contents

Clone this wiki locally