mirror of
https://github.com/NexusForever/NexusForever
synced 2026-08-14 00:26:05 -04:00
15 lines
343 B
C#
15 lines
343 B
C#
using System;
|
|
|
|
namespace NexusForever.Shared.Network.Message
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class MessageHandlerAttribute : Attribute
|
|
{
|
|
public GameMessageOpcode Opcode { get; }
|
|
|
|
public MessageHandlerAttribute(GameMessageOpcode opcode)
|
|
{
|
|
Opcode = opcode;
|
|
}
|
|
}
|
|
}
|