WutheringWaves/GameServer/Controllers/Attributes/ChatCommandAttribute.cs

12 lines
266 B
C#

namespace GameServer.Controllers.Attributes;
[AttributeUsage(AttributeTargets.Method)]
internal class ChatCommandAttribute : Attribute
{
public string Command { get; }
public ChatCommandAttribute(string command)
{
Command = command;
}
}