Nakama C++ Client SDK 2.5.1
Client for Nakama Server
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
NChannelPresenceEvent Struct Reference

A set of joins and leaves on a particular channel. More...

#include <NChannelPresenceEvent.h>

Public Attributes

std::string channelId
 The channel identifier this event is for. More...
 
std::vector< NUserPresencejoins
 Presences joining the channel as part of this event, if any. More...
 
std::vector< NUserPresenceleaves
 Presences leaving the channel as part of this event, if any. More...
 
std::string roomName
 The name of the chat room, or an empty string if this message was not sent through a chat room. More...
 
std::string groupId
 The ID of the group, or an empty string if this message was not sent through a group channel. More...
 
std::string userIdOne
 The ID of the first DM user, or an empty string if this message was not sent through a DM chat. More...
 
std::string userIdTwo
 The ID of the second DM user, or an empty string if this message was not sent through a DM chat. More...
 

Detailed Description

A set of joins and leaves on a particular channel.

Member Data Documentation

◆ channelId

std::string NChannelPresenceEvent::channelId

The channel identifier this event is for.

◆ groupId

std::string NChannelPresenceEvent::groupId

The ID of the group, or an empty string if this message was not sent through a group channel.

◆ joins

std::vector<NUserPresence> NChannelPresenceEvent::joins

Presences joining the channel as part of this event, if any.

◆ leaves

std::vector<NUserPresence> NChannelPresenceEvent::leaves

Presences leaving the channel as part of this event, if any.

◆ roomName

std::string NChannelPresenceEvent::roomName

The name of the chat room, or an empty string if this message was not sent through a chat room.

◆ userIdOne

std::string NChannelPresenceEvent::userIdOne

The ID of the first DM user, or an empty string if this message was not sent through a DM chat.

◆ userIdTwo

std::string NChannelPresenceEvent::userIdTwo

The ID of the second DM user, or an empty string if this message was not sent through a DM chat.


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