Nakama C++ Client SDK 2.5.1
Client for Nakama Server
NUser Struct Reference

A user in the server. More...

#include <NUser.h>

Public Attributes

std::string id
 The id of the user's account. More...
 
std::string username
 The username of the user's account. More...
 
std::string displayName
 The display name of the user. More...
 
std::string avatarUrl
 A URL for an avatar image. More...
 
std::string lang
 The language expected to be a tag which follows the BCP-47 spec. More...
 
std::string location
 The location set by the user. More...
 
std::string timeZone
 The timezone set by the user. More...
 
std::string metadata
 Additional information stored as a JSON object. More...
 
std::string facebookId
 The Facebook id in the user's account. More...
 
std::string googleId
 The Google id in the user's account. More...
 
std::string gameCenterId
 The Apple Game Center in of the user's account. More...
 
std::string appleId
 The Apple Sign In ID in the user's account. More...
 
std::string steamId
 The Steam id in the user's account. More...
 
bool online = false
 Indicates whether the user is currently online. More...
 
int32_t edgeCount = 0
 Number of related edges to this user (friends). More...
 
NTimestamp createdAt = 0
 The UNIX time when the user was created. More...
 
NTimestamp updatedAt = 0
 The UNIX time when the user was last updated. More...
 

Detailed Description

A user in the server.

Member Data Documentation

◆ appleId

std::string NUser::appleId

The Apple Sign In ID in the user's account.

◆ avatarUrl

std::string NUser::avatarUrl

A URL for an avatar image.

◆ createdAt

NTimestamp NUser::createdAt = 0

The UNIX time when the user was created.

◆ displayName

std::string NUser::displayName

The display name of the user.

◆ edgeCount

int32_t NUser::edgeCount = 0

Number of related edges to this user (friends).

◆ facebookId

std::string NUser::facebookId

The Facebook id in the user's account.

◆ gameCenterId

std::string NUser::gameCenterId

The Apple Game Center in of the user's account.

◆ googleId

std::string NUser::googleId

The Google id in the user's account.

◆ id

std::string NUser::id

The id of the user's account.

◆ lang

std::string NUser::lang

The language expected to be a tag which follows the BCP-47 spec.

◆ location

std::string NUser::location

The location set by the user.

◆ metadata

std::string NUser::metadata

Additional information stored as a JSON object.

◆ online

bool NUser::online = false

Indicates whether the user is currently online.

◆ steamId

std::string NUser::steamId

The Steam id in the user's account.

◆ timeZone

std::string NUser::timeZone

The timezone set by the user.

◆ updatedAt

NTimestamp NUser::updatedAt = 0

The UNIX time when the user was last updated.

◆ username

std::string NUser::username

The username of the user's account.


The documentation for this struct was generated from the following file: