// ----------------------------------------------------------------------------------------------------------------------
// 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 internally used constants in Photon Chat events. You don't have to use them directly usually.
///
public class ChatEventCode
{
/// (0) Event code for messages published in public channels.
public const byte ChatMessages = 0;
/// (1) Not Used.
public const byte Users = 1;// List of users or List of changes for List of users
/// (2) Event code for messages published in private channels
public const byte PrivateMessage = 2;
/// (3) Not Used.
public const byte FriendsList = 3;
/// (4) Event code for status updates.
public const byte StatusUpdate = 4;
/// (5) Event code for subscription acks.
public const byte Subscribe = 5;
/// (6) Event code for unsubscribe acks.
public const byte Unsubscribe = 6;
/// (7) Event code for properties update.
public const byte PropertiesChanged = 7;
/// (8) Event code for new user subscription to a channel where is enabled.
public const byte UserSubscribed = 8;
/// (9) Event code for when user unsubscribes from a channel where is enabled.
public const byte UserUnsubscribed = 9;
/// (10) Event code for when the server sends an error to the client.
/// This is currently only used by Chat WebHooks.
public const byte ErrorInfo = 10;
}
}