Skip to content

Class StringArgumentType

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

public record StringArgumentType : IArgumentType, IAnyArgumentType, IEquatable<StringArgumentType>

Inheritance

objectStringArgumentType

Implements

IArgumentType, IAnyArgumentType, IEquatable<StringArgumentType>

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

IEnumerable<string>

Type

public StringArgumentType.StringType Type { get; init; }

Property Value

StringArgumentType.StringType

Methods

GreedyString()

public static StringArgumentType GreedyString()

Returns

StringArgumentType

Parse(StringReader)

public IArgumentValue Parse(StringReader reader)

Parameters

reader StringReader

Returns

IArgumentValue

String()

public static StringArgumentType String()

Returns

StringArgumentType

Word()

public static StringArgumentType Word()

Returns

StringArgumentType