﻿// <copyright file="AbilityTalentMetadataAttribute.cs" company="EnsageSharp">
//    Copyright (c) 2017 Moones.
//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//    You should have received a copy of the GNU General Public License
//    along with this program.  If not, see http://www.gnu.org/licenses/
// </copyright>
namespace Ability.Core.AbilityFactory.AbilityTalent.Metadata
{
    using System;
    using System.ComponentModel.Composition;

    [MetadataAttribute, AttributeUsage(AttributeTargets.Class)]
    public class AbilityTalentMetadataAttribute : Attribute, IAbilityTalentMetadata
    {
        #region Constructors and Destructors

        /// <summary>Initializes a new instance of the <see cref="AbilityTalentMetadataAttribute" /> class.</summary>
        /// <param name="abilityIds">The ability ids.</param>
        public AbilityTalentMetadataAttribute(params uint[] abilityIds)
        {
            this.AbilityIds = abilityIds;
        }

        #endregion

        #region Public Properties

        public uint[] AbilityIds { get; }

        #endregion
    }
}