Remove FluentResults, documentation

This commit is contained in:
Deukhoofd committed 2024-07-28 12:52:17 +02:00
1 parent 5d6149b18b
commit 10f411f076
25 files changed
+224 -44

No files matched your search

@@ -1,15 +1,26 @@
using JetBrains.Annotations;
using PkmnLib.Static.Utils;
namespace PkmnLib.Dynamic.ScriptHandling;
namespace PkmnLib.Dynamic.ScriptHandling.Registry;
/// <summary>
/// Helper attribute to register scripts through reflection.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
[MeansImplicitUse]
public class ScriptAttribute : Attribute
{
/// <summary>
/// The category of the script it should be registered in.
/// </summary>
public ScriptCategory Category { get; }
/// <summary>
/// The name of the script.
/// </summary>
public StringKey Name { get; }
/// <inheritdoc cref="ScriptAttribute"/>
public ScriptAttribute(ScriptCategory category, string name)
{
Category = category;