ace/Source/ACE.Server/Mods/CommandCategoryAttribute.cs
aquafir 918aa66d9b
Command categories and Harmony bump (#4144)
* Bump Harmony version

* Add command category support

* Switch usage to unpatch all, split register commands from patch with Harmony

* Move instantiation of command handler dictionary to declaration

* Remove deferred command registration

* Revert build output changes

* Move mod listing to end of startup
2024-04-05 13:03:49 -04:00

17 lines
393 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ACE.Server.Mods;
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class CommandCategoryAttribute : Attribute
{
public string Category { get; }
public CommandCategoryAttribute(string category)
{
Category = category;
}
}