// ---------------------------------------------------------------------------------------------------------------------- // The Photon Chat Api enables clients to connect to a chat server and communicate with other clients. // ChatClient is the main class of this api. // Photon Chat Api - Copyright (C) 2014 Exit Games GmbH // ---------------------------------------------------------------------------------------------------------------------- namespace Photon.Chat { /// 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. /// public static class ChatUserStatus { /// (0) Offline. public const int Offline = 0; /// (1) Be invisible to everyone. Sends no message. public const int Invisible = 1; /// (2) Online and available. public const int Online = 2; /// (3) Online but not available. public const int Away = 3; /// (4) Do not disturb. public const int DND = 4; /// (5) Looking For Game/Group. Could be used when you want to be invited or do matchmaking. public const int LFG = 5; /// (6) Could be used when in a room, playing. public const int Playing = 6; } }