mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-14 16:04:36 +01:00
Initial commit
This commit is contained in:
21
nksrv/Utils/PacketPathAttribute.cs
Normal file
21
nksrv/Utils/PacketPathAttribute.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace nksrv.Utils
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents that this class handles a message
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class PacketPathAttribute : Attribute
|
||||
{
|
||||
public string Url { get; set; }
|
||||
public PacketPathAttribute(string url)
|
||||
{
|
||||
Url = url;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user