Skip to content

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

objectSuggestCommand

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

string

Command

The command text to suggest.

public string Command { get; init; }

Property Value

string