// ---------------------------------------------------------------------------------------------------------------------- // 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 { /// Possible states for a Chat Client. public enum ChatState { /// Peer is created but not used yet. Uninitialized, /// Connecting to name server. ConnectingToNameServer, /// Connected to name server. ConnectedToNameServer, /// Authenticating on current server. Authenticating, /// Finished authentication on current server. Authenticated, /// Disconnecting from name server. This is usually a transition from name server to frontend server. DisconnectingFromNameServer, /// Connecting to frontend server. ConnectingToFrontEnd, /// Connected to frontend server. ConnectedToFrontEnd, /// Disconnecting from frontend server. DisconnectingFromFrontEnd, /// Currently not used. QueuedComingFromFrontEnd, /// The client disconnects (from any server). Disconnecting, /// The client is no longer connected (to any server). Disconnected, /// Client was unable to connect to Name Server and will attempt to connect with an alternative network protocol (TCP). ConnectWithFallbackProtocol } }