Class CommandParser
- Namespace
- Uncreated.Warfare.Interaction.Commands
- Assembly
- Uncreated.Warfare.dll
public class CommandParser
- Inheritance
-
CommandParser
- Inherited Members
Constructors
CommandParser(CommandDispatcher)
public CommandParser(CommandDispatcher dispatcher)
Parameters
dispatcherCommandDispatcher
Properties
Dispatcher
public CommandDispatcher Dispatcher { get; }
Property Value
Methods
ParseCommandInput(ReadOnlySpan<char>, bool)
public ParsedCommandInfo ParseCommandInput(ReadOnlySpan<char> originalMessage, bool requirePrefix)
Parameters
originalMessageReadOnlySpan<char>requirePrefixbool