Snowflake/RPG.Services.Gameserver/Modules/Attributes/OnCommandAttribute.cs

15 lines
299 B
C#
Raw Normal View History

2024-01-19 14:45:18 +00:00
using RPG.Network.Proto;
namespace RPG.Services.Gameserver.Modules.Attributes;
[AttributeUsage(AttributeTargets.Method)]
internal class OnCommandAttribute : Attribute
{
public CmdType CmdType { get; }
public OnCommandAttribute(CmdType cmdType)
{
CmdType = cmdType;
}
}