More work on commands, still needs some work but most should be working now.
This commit is contained in:
@@ -79,4 +79,15 @@ namespace Game.Chat
|
||||
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
public class OptionalArgAttribute : Attribute { }
|
||||
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
public class VariantArgAttribute : Attribute
|
||||
{
|
||||
public Type[] Types { get; set; }
|
||||
|
||||
public VariantArgAttribute(params Type[] types)
|
||||
{
|
||||
Types = types;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user