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

14 lines
339 B
C#

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;
}
}