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

19 lines
448 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;
2025-03-02 16:19:57 +00:00
[AttributeUsage(AttributeTargets.Class), MeansImplicitUse]
2025-01-10 10:11:50 +00:00
public class ItemScriptAttribute : Attribute
{
/// <summary>
/// The name of the script.
/// </summary>
public StringKey Name { get; }
/// <inheritdoc cref="ItemScriptAttribute"/>
public ItemScriptAttribute(string name)
{
Name = name;
}
}