ConCommandAttribute
Obsolete
Use [Command] instead.
Marks a method as a console command handler with signature void Handler(ConCommandContext ctx).
public sealed class ConCommandAttribute : Attribute
Namespace: DeadworksManaged.Api
Inherits / implements: Attribute
Source: ConCommands/ConCommandAttribute.cs#L6
Constructors
new ConCommandAttribute()
Signature
public ConCommandAttribute(string name)
Source: ConCommands/ConCommandAttribute.cs#L12
Properties
ConCommandAttribute.Name
Signature
public string Name { get; }
Source: ConCommands/ConCommandAttribute.cs#L8
ConCommandAttribute.Description
Signature
public string Description { get; set; } = "";
Source: ConCommands/ConCommandAttribute.cs#L9
ConCommandAttribute.ServerOnly
Signature
public bool ServerOnly { get; set; }