PkmnLib.NET/PkmnLib.Dynamic/ScriptHandling/Registry/ItemScriptAttribute.cs

20 lines
449 B
C#
Raw Normal View History

2025-01-10 10:11:50 +00:00
using JetBrains.Annotations;
using PkmnLib.Static.Utils;
namespace PkmnLib.Dynamic.ScriptHandling.Registry;
[AttributeUsage(AttributeTargets.Class)]
[MeansImplicitUse]
public class ItemScriptAttribute : Attribute
{
/// <summary>
/// The name of the script.
/// </summary>
public StringKey Name { get; }
/// <inheritdoc cref="ItemScriptAttribute"/>
public ItemScriptAttribute(string name)
{
Name = name;
}
}