Photon Unity Networking 2: ChatUserStatus Class Reference

Photon Unity Networking 2

ChatUserStatus Class Reference

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

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

const int Away = 3

(3) Online but not available.

const int DND = 4

(4) Do not disturb.

const int Invisible = 1

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

const int LFG = 5

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

const int Offline = 0

(0) Offline.

const int Online = 2

(2) Online and available.

const int Playing = 6

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

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH