Skip to content

Class IntegerSuggestion

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

public record IntegerSuggestion : Suggestion, IComparable<Suggestion>, IEquatable<Suggestion>, IEquatable<IntegerSuggestion>

Inheritance

objectSuggestionIntegerSuggestion

Implements

IComparable<Suggestion>, IEquatable<Suggestion>, IEquatable<IntegerSuggestion>

Inherited Members

Suggestion.Range, Suggestion.Text, Suggestion.Tooltip, Suggestion.Apply(string), Suggestion.CompareTo(Suggestion?), Suggestion.Expand(string, StringRange), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

IntegerSuggestion(StringRange, int, IMessage?)

public IntegerSuggestion(StringRange Range, int Value, IMessage? Tooltip = null)

Parameters

Range StringRange

Value int

Tooltip IMessage?

Properties

Value

public int Value { get; init; }

Property Value

int