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

A group in the server. More...

#include <NGroup.h>

Public Attributes

std::string id
 The id of a group. More...
 
std::string creatorId
 The id of the user who created the group. More...
 
std::string name
 The unique name of the group. More...
 
std::string description
 A description for the group. More...
 
std::string lang
 The language expected to be a tag which follows the BCP-47 spec. More...
 
std::string metadata
 Additional information stored as a JSON object. More...
 
std::string avatarUrl
 A URL for an avatar image. More...
 
bool open = false
 Anyone can join open groups, otherwise only admins can accept members. More...
 
int32_t edgeCount = 0
 The current count of all members in the group. More...
 
int32_t maxCount = 0
 The maximum number of members allowed. More...
 
NTimestamp createTime = 0
 The UNIX time when the group was created. More...
 
NTimestamp updateTime = 0
 The UNIX time when the group was last updated. More...
 

Detailed Description

A group in the server.

Member Data Documentation

◆ avatarUrl

std::string NGroup::avatarUrl

A URL for an avatar image.

◆ createTime

NTimestamp NGroup::createTime = 0

The UNIX time when the group was created.

◆ creatorId

std::string NGroup::creatorId

The id of the user who created the group.

◆ description

std::string NGroup::description

A description for the group.

◆ edgeCount

int32_t NGroup::edgeCount = 0

The current count of all members in the group.

◆ id

std::string NGroup::id

The id of a group.

◆ lang

std::string NGroup::lang

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

◆ maxCount

int32_t NGroup::maxCount = 0

The maximum number of members allowed.

◆ metadata

std::string NGroup::metadata

Additional information stored as a JSON object.

◆ name

std::string NGroup::name

The unique name of the group.

◆ open

bool NGroup::open = false

Anyone can join open groups, otherwise only admins can accept members.

◆ updateTime

NTimestamp NGroup::updateTime = 0

The UNIX time when the group was last updated.


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