Photon Unity Networking 2 2.30

Static Public Attributes | List of all members
ChatUserStatus Class Reference

Contains commonly used status values for SetOnlineStatus. You can define your own. More...

Static Public Attributes

const int Offline = 0
 (0) Offline. More...
 
const int Invisible = 1
 (1) Be invisible to everyone. Sends no message. More...
 
const int Online = 2
 (2) Online and available. More...
 
const int Away = 3
 (3) Online but not available. More...
 
const int DND = 4
 (4) Do not disturb. More...
 
const int LFG = 5
 (5) Looking For Game/Group. Could be used when you want to be invited or do matchmaking. More...
 
const int Playing = 6
 (6) Could be used when in a room, playing. More...
 

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.

Member Data Documentation

◆ Away

const int Away = 3
static

(3) Online but not available.

◆ DND

const int DND = 4
static

(4) Do not disturb.

◆ Invisible

const int Invisible = 1
static

(1) Be invisible to everyone. Sends no message.

◆ LFG

const int LFG = 5
static

(5) Looking For Game/Group. Could be used when you want to be invited or do matchmaking.

◆ Offline

const int Offline = 0
static

(0) Offline.

◆ Online

const int Online = 2
static

(2) Online and available.

◆ Playing

const int Playing = 6
static

(6) Could be used when in a room, playing.