// ----------------------------------------------------------------------------------------------------------------------
// 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 ExitGames.Client.Photon.Chat
{
/// Possible states for a LoadBalancingClient.
public enum ChatState
{
/// Peer is created but not used yet.
Uninitialized,
/// Connecting to master (includes connect, authenticate and joining the lobby)
ConnectingToNameServer,
/// Connected to master server.
ConnectedToNameServer,
/// Usually when Authenticated, the client will join a game or the lobby (if AutoJoinLobby is true).
Authenticating,
/// Usually when Authenticated, the client will join a game or the lobby (if AutoJoinLobby is true).
Authenticated,
/// Transition from master to game server.
DisconnectingFromNameServer,
/// Transition to gameserver (client will authenticate and join/create game).
ConnectingToFrontEnd,
/// Connected to gameserver (going to auth and join game).
ConnectedToFrontEnd,
/// Transition from gameserver to master (after leaving a room/game).
DisconnectingFromFrontEnd,
/// Currently not used.
QueuedComingFromFrontEnd,
/// The client disconnects (from any server).
Disconnecting,
/// The client is no longer connected (to any server). Connect to master to go on.
Disconnected,
}
}