WutheringWaves/GameServer/Controllers/Attributes/NetEventAttribute.cs

14 lines
297 B
C#

using Protocol;
namespace GameServer.Controllers.Attributes;
[AttributeUsage(AttributeTargets.Method)]
internal class NetEventAttribute : Attribute
{
public MessageId MessageId { get; }
public NetEventAttribute(MessageId netMessageId)
{
MessageId = netMessageId;
}
}