RakNet
4.0
|
#include <Lobby2Presence.h>
Public Types | |
enum | Status { UNDEFINED, NOT_ONLINE, AWAY, DO_NOT_DISTURB, MINIMIZED, TYPING, VIEWING_PROFILE, EDITING_PROFILE, IN_LOBBY, IN_ROOM, IN_GAME } |
Public Attributes | |
bool | isVisible |
Visibility flag. This is not enforced by the server, so if you want a user's presence to be not visible, just don't display it on the client. | |
RakString | titleNameOrID |
RakString | statusString |
Anything you want. | |
Lobby2Presence is information about your online status. It is only held in memory, so is lost when you go offline. Set by calling Client_SetPresence and retrieve with Client_GetPresence
RakString RakNet::Lobby2Presence::titleNameOrID |
Although game name is also present in the titleNameOrID member of Client_Login, this is the visible name returned by presence queries That is because Client_Login::titleNameOrID member is optional, for example for lobbies that support multiple titles. Set by the user (you) or leave blank if desired.