Interface ICommandHandler<T>
- Namespace
- BSGameLib.Chat
- Assembly
- BSGameLib.Chat.dll
Handles a command of type T. Nothing in BSGameLib calls it.
public interface ICommandHandler<in T> where T : ICommand
Type Parameters
T
Methods
Handle(ICommandContext, T)
Handles command in the context it was typed in.
void Handle(ICommandContext context, T command)
Parameters
contextICommandContextcommandT