nexusforever/Source/NexusForever.WorldServer/Command/CommandTargetAttribute.cs

15 lines
353 B
C#

using System;
namespace NexusForever.WorldServer.Command
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class CommandTargetAttribute : Attribute
{
public Type TargetType { get; }
public CommandTargetAttribute(Type targetType)
{
TargetType = targetType;
}
}
}