SuggestionProvider
Namespace Mc.Scripting.Commands · Kind delegate
public delegate void SuggestionProvider(CommandContext context, SuggestionsBuilder builder)A suggestion provider: fills the builder with completions for the argument being typed.
Parameters
| Name | Type | Description |
|---|---|---|
context |
CommandContext |
The parsed command so far (arguments before the one being typed are available). |
builder |
SuggestionsBuilder |
Collects the suggestions. |