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

15 lines
299 B
C#
Raw Permalink Normal View History

2024-01-29 23:49:21 +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;
}
}