// ---------------------------------------------------------------------------------------------------------------------- // 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 { /// /// Wraps up codes for operations used internally in Photon Chat. You don't have to use them directly usually. /// public class ChatOperationCode { /// (230) Operation Authenticate. public const byte Authenticate = 230; /// (0) Operation to subscribe to chat channels. public const byte Subscribe = 0; /// (1) Operation to unsubscribe from chat channels. public const byte Unsubscribe = 1; /// (2) Operation to publish a message in a chat channel. public const byte Publish = 2; /// (3) Operation to send a private message to some other user. public const byte SendPrivate = 3; /// (4) Not used yet. public const byte ChannelHistory = 4; /// (5) Set your (client's) status. public const byte UpdateStatus = 5; /// (6) Add friends the list of friends that should update you of their status. public const byte AddFriends = 6; /// (7) Remove friends from list of friends that should update you of their status. public const byte RemoveFriends = 7; } }