ConnectionState.cs

src/Connections/Enums/ConnectionState.cs · 1.8 KB

From the archive Arthea-src-1.0.zip

Download the archive   « Back to the archive contents

#region Arthea License

/***********************************************************************
*  Arthea MUD by R. Jennings (2007)      http://arthea.googlecode.com/ *
*  By using this code you comply with the Artistic and GPLv2 Licenses. *
***********************************************************************/

#endregion

namespace Arthea.Connections.Enums
{
    /// <summary>
    /// Implements a connection state
    /// </summary>
    public enum ConnectionState
    {
        /// <summary>
        /// Connection is entering a name
        /// </summary>
        EnterName,
        /// <summary>
        /// Connection is confirming a new name
        /// </summary>
        ConfirmNewName,
        /// <summary>
        /// Connection is entering a password
        /// </summary>
        EnterPassword,
        /// <summary>
        /// Connection is re-entering a new password
        /// </summary>
        EnterNewPassword,
        /// <summary>
        /// Connection is confirming a new password
        /// </summary>
        ConfirmNewPassword,
        /// <summary>
        /// Connection is rolling stats
        /// </summary>
        RollStats,
        /// <summary>
        /// Connection is setting their class
        /// </summary>
        GetClass,
        /// <summary>
        /// Connection is setting their race
        /// </summary>
        GetRace,
        /// <summary>
        /// Connection is reconnecting
        /// </summary>
        ConfirmReconnect,
        /// <summary>
        /// Displays up to date information before logging in
        /// </summary>
        ReadMOTD,
        /// <summary>
        /// Connection is playing
        /// </summary>
        Playing,
        /// <summary>
        /// Connection is disconnected
        /// </summary>
        Disconnected
    }
}

Site Stats

Snippets: 1791
Codebases: 571