Skip to content

Class AvailableCommandsEvent

Namespace: Void.Minecraft.Events.Chat
Assembly: Void.Minecraft.dll

Signals that a player’s command tree was decoded and is available for inspection or augmentation.

public record AvailableCommandsEvent : IScopedEvent, IEvent, IEquatable<AvailableCommandsEvent>

Inheritance

objectAvailableCommandsEvent

Implements

IScopedEvent, IEvent, IEquatable<AvailableCommandsEvent>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

Signals that a player’s command tree was decoded and is available for inspection or augmentation.

public AvailableCommandsEvent(ILink Link, IPlayer Player, RootCommandNode Node)

Parameters

Link ILink

The link on which the command tree was received.

Player IPlayer

The player receiving the commands.

Node RootCommandNode

The mutable root command node decoded from the server packet.

Properties

The link on which the command tree was received.

public ILink Link { get; init; }

Property Value

ILink

Node

The mutable root command node decoded from the server packet.

public RootCommandNode Node { get; init; }

Property Value

RootCommandNode

Player

The player receiving the commands.

public IPlayer Player { get; init; }

Property Value

IPlayer