Class SuggestCommand
Namespace: Void.Minecraft.Components.Text.Events.Actions.Click
Assembly: Void.Minecraft.dll
Represents a click action that places command text into the client’s input field.
public record SuggestCommand : IClickEventAction, IEquatable<SuggestCommand>Inheritance
Implements
IClickEventAction, IEquatable<SuggestCommand>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
SuggestCommand(string)
Represents a click action that places command text into the client’s input field.
public SuggestCommand(string Command)Parameters
Command string
The command text to suggest.
Properties
ActionName
Gets the suggest_command click-action identifier.
public string ActionName { get; }Property Value
Command
The command text to suggest.
public string Command { get; init; }