#if !COMBAT_SERVER


using UnityEngine;
using System;

[AttributeUsage(AttributeTargets.Enum | AttributeTargets.Field)]
public class EnumLabelAttribute : PropertyAttribute
{
    /// <summary>
    /// 注释
    /// </summary>
    public string label;

    public new int[] order = new int[0];

    /// <summary>
    /// 数据
    /// </summary>
    public string data = "";

    public EnumLabelAttribute(string label, string data = "")
    {
        this.label = label;
        this.data = data;
    }

    public EnumLabelAttribute(string label, string data = "", params int[] order)
    {
        this.label = label;
        this.order = order;
        this.data = data;
    }
}
#endif