An object which represents a connected user in the server.
More...
Inherited by Nakama.UserPresence.
|
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.
|
|
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.
◆ 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 |
◆ Username
string Nakama.IUserPresence.Username |
|
get |
The username for the user.
The documentation for this interface was generated from the following file: