Added first script, bugfixes

This commit is contained in:
2024-07-28 12:18:12 +02:00
parent 5b495ac871
commit 7c0bd879b8
6 changed files with 89 additions and 7 deletions

View File

@@ -1,10 +1,14 @@
using JetBrains.Annotations;
using PkmnLib.Static.Utils;
namespace PkmnLib.Dynamic.ScriptHandling;
[AttributeUsage(AttributeTargets.Class)]
[MeansImplicitUse]
public class ScriptAttribute : Attribute
{
public ScriptCategory Category { get; }
public string Name { get; }
public StringKey Name { get; }
public ScriptAttribute(ScriptCategory category, string name)
{