Photon C++ Client API  5.0.7.3
Variables
ExitGames::Chat::UserStatus Namespace Reference

Variables

static const int OFFLINE
 Offline.
 
static const int INVISIBLE
 Be invisible to everyone. Sends no message.
 
static const int ONLINE
 Online and available.
 
static const int AWAY
 Online but not available.
 
static const int DND
 Do not disturb.
 
static const int LFG
 Looking For Game/Group. Could be used when you want to be invited or do matchmaking.
 
static const int PLAYING
 Could be used when in a room, playing.
 

Detailed Description

Contains commonly used status values for SetOnlineStatus. You can define your own. While "online" (value 2 and up), the status message will be sent to anyone who has you on his friend list.

Define custom online status values as you like with these rules: 0: Means "offline". It will be used when you are not connected. In this status, there is no status message. 1: Means "invisible" and is sent to friends as "offline". They see status 0, no message but you can chat. 2: And any higher value will be treated as "online". Status can be set.

UserStatus