Nakama .NET 3.1.1
.NET client for Nakama server written in C
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. More...
 
string SessionId [get]
 The session id of the user. More...
 
string Status [get]
 The status of the user with the presence on the server. More...
 
string Username [get]
 The username for the user. More...
 
string UserId [get]
 The id of the user. More...
 

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: