Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / buff / BuffFragmentAttribute.cs
@小李xl 小李xl on 17 Mar 2024 461 bytes 重构主动道具中
using System;

[AttributeUsage(AttributeTargets.Class)]
public class BuffFragmentAttribute : Attribute
{
    /// <summary>
    /// Buff属性名称
    /// </summary>
    public string BuffName { get; set; }
    
    /// <summary>
    /// 描述
    /// </summary>
    public string Description { get; set; }
    
    public BuffFragmentAttribute(string buffName, string description)
    {
        BuffName = buffName;
        Description = description;
    }
}