Class BoolArgumentType
Namespace: Void.Minecraft.Commands.Brigadier.ArgumentTypes
Assembly: Void.Minecraft.dll
public record BoolArgumentType : IArgumentType, IAnyArgumentType, IEquatable<BoolArgumentType>Inheritance
Implements
IArgumentType, IAnyArgumentType, IEquatable<BoolArgumentType>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Examples
public IEnumerable<string> Examples { get; }Property Value
Methods
Bool()
public static BoolArgumentType Bool()Returns
GetBool(CommandContext, string)
public static bool GetBool(CommandContext context, string name)Parameters
context CommandContext
name string
Returns
ListSuggestionsAsync(CommandContext, SuggestionsBuilder, CancellationToken)
public virtual ValueTask<Suggestions> ListSuggestionsAsync(CommandContext context, SuggestionsBuilder builder, CancellationToken cancellationToken)Parameters
context CommandContext
builder SuggestionsBuilder
cancellationToken CancellationToken
Returns
Parse(StringReader)
public IArgumentValue Parse(StringReader reader)Parameters
reader StringReader