Snowflake/RPG.Services.Core/Network/Attributes/ServiceCommandAttribute.cs

15 lines
339 B
C#
Raw Normal View History

2024-01-18 22:13:40 +00:00
using RPG.Network.Proto;
namespace RPG.Services.Core.Network.Attributes;
[AttributeUsage(AttributeTargets.Method)]
public class ServiceCommandAttribute : Attribute
{
public ServiceCommandType CommandType { get; }
public ServiceCommandAttribute(ServiceCommandType commandType)
{
CommandType = commandType;
}
}