Initial set up for item use
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user