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
object ← AvailableCommandsEvent
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
AvailableCommandsEvent(ILink, IPlayer, RootCommandNode)
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
Link
The link on which the command tree was received.
public ILink Link { get; init; }Property Value
Node
The mutable root command node decoded from the server packet.
public RootCommandNode Node { get; init; }Property Value
Player
The player receiving the commands.
public IPlayer Player { get; init; }