Nakama .NET Client SDK 3.8.0
Nakama .NET Client SDK
Loading...
Searching...
No Matches
Nakama.IUserPresence Interface Reference

An object which represents a connected user in the server. More...

Inherited by Nakama.UserPresence.

Properties

bool Persistence [get]
 If this presence generates stored events like persistent chat messages or notifications.
 
string SessionId [get]
 The session id of the user.
 
string Status [get]
 The status of the user with the presence on the server.
 
string Username [get]
 The username for the user.
 
string UserId [get]
 The id of the user.
 

Detailed Description

An object which represents a connected user in the server.

The server allows the same user to be connected with multiple sessions. To uniquely identify them a tuple of { node_id, user_id, session_id } is used which is exposed as this object.

Property Documentation

◆ Persistence

bool Nakama.IUserPresence.Persistence
get

If this presence generates stored events like persistent chat messages or notifications.

◆ SessionId

string Nakama.IUserPresence.SessionId
get

The session id of the user.

◆ Status

string Nakama.IUserPresence.Status
get

The status of the user with the presence on the server.

◆ UserId

string Nakama.IUserPresence.UserId
get

The id of the user.

◆ Username

string Nakama.IUserPresence.Username
get

The username for the user.


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