Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / buff / BuffFragmentAttribute.cs
@小李xl 小李xl on 17 Mar 2024 461 bytes 重构主动道具中
  1. using System;
  2.  
  3. [AttributeUsage(AttributeTargets.Class)]
  4. public class BuffFragmentAttribute : Attribute
  5. {
  6. /// <summary>
  7. /// Buff属性名称
  8. /// </summary>
  9. public string BuffName { get; set; }
  10. /// <summary>
  11. /// 描述
  12. /// </summary>
  13. public string Description { get; set; }
  14. public BuffFragmentAttribute(string buffName, string description)
  15. {
  16. BuffName = buffName;
  17. Description = description;
  18. }
  19. }