Skip to content

Interface IArgumentType

Namespace: Void.Minecraft.Commands.Brigadier.ArgumentTypes
Assembly: Void.Minecraft.dll

public interface IArgumentType : IAnyArgumentType

Implements

IAnyArgumentType

Properties

Examples

IEnumerable<string> Examples { get; }

Property Value

IEnumerable<string>

Methods

As<T>()

T As<T>() where T : IAnyArgumentType

Returns

T

Type Parameters

T

ListSuggestionsAsync(CommandContext, SuggestionsBuilder, CancellationToken)

ValueTask<Suggestions> ListSuggestionsAsync(CommandContext context, SuggestionsBuilder builder, CancellationToken cancellationToken)

Parameters

context CommandContext

builder SuggestionsBuilder

cancellationToken CancellationToken

Returns

ValueTask<Suggestions>

Parse(StringReader)

IArgumentValue Parse(StringReader reader)

Parameters

reader StringReader

Returns

IArgumentValue