![]() |
Nakama C++ Client SDK 2.5.1
Client for Nakama Server
|
A user session associated to a stream, usually through a list operation or a join/leave event. More...
#include <NUserPresence.h>
Public Attributes | |
std::string | userId |
The user this presence belongs to. More... | |
std::string | sessionId |
A unique session ID identifying the particular connection, because the user may have many. More... | |
std::string | username |
The username for display purposes. More... | |
bool | persistence = false |
Whether this presence generates persistent data/messages, if applicable for the stream type. More... | |
std::string | status |
A user-set status message for this stream, if applicable. More... | |
A user session associated to a stream, usually through a list operation or a join/leave event.
bool NUserPresence::persistence = false |
Whether this presence generates persistent data/messages, if applicable for the stream type.
std::string NUserPresence::sessionId |
A unique session ID identifying the particular connection, because the user may have many.
std::string NUserPresence::status |
A user-set status message for this stream, if applicable.
std::string NUserPresence::userId |
The user this presence belongs to.
std::string NUserPresence::username |
The username for display purposes.