AffectFlags.cs

src/Affects/AffectFlags.cs · 1.7 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.Affects
{
    /// <summary>
    /// Implementation of affect flags
    /// </summary>
    public class AffectFlags : Flag
    {
        #region [rgn] Fields (1)

        /// <summary>
        /// Protective aura flag.
        /// </summary>
        public const ulong Sanctuary = (1UL << 0);

        #endregion [rgn]

        #region [rgn] Constructors (4)

        /// <summary>
        /// Initializes a new instance of the <see cref="AffectFlags"/> class.
        /// </summary>
        /// <param name="flag">The bit.</param>
        public AffectFlags(Flag flag)
            : base(flag)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="AffectFlags"/> class.
        /// </summary>
        /// <param name="value">The value.</param>
        public AffectFlags(ulong value)
            : base(value)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="AffectFlags"/> class.
        /// </summary>
        /// <param name="value">The value.</param>
        public AffectFlags(string value)
            : base(value)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="AffectFlags"/> class.
        /// </summary>
        public AffectFlags()
        {
        }

        #endregion [rgn]
    }
}

Site Stats

Snippets: 1791
Codebases: 571