Skip to content

Class UnavailableCommandsEvent

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

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

Inheritance

objectUnavailableCommandsEvent

Implements

IScopedEvent, IEvent, IEquatable<UnavailableCommandsEvent>

Inherited Members

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

Constructors

public UnavailableCommandsEvent(ILink Link, IPlayer Player, Exception? Reason)

Parameters

Link ILink

Player IPlayer

Reason Exception?

Properties

CopyProxyCommandNode

public bool CopyProxyCommandNode { get; set; }

Property Value

bool

CustomCommandNode

public RootCommandNode? CustomCommandNode { get; set; }

Property Value

RootCommandNode?

public ILink Link { get; init; }

Property Value

ILink

Player

public IPlayer Player { get; init; }

Property Value

IPlayer

Reason

public Exception? Reason { get; init; }

Property Value

Exception?

Methods

ReplaceCommandNode(bool)

public void ReplaceCommandNode(bool copyProxyCommandNode = true)

Parameters

copyProxyCommandNode bool

ReplaceCommandNode(RootCommandNode, bool)

public void ReplaceCommandNode(RootCommandNode commandNode, bool copyProxyCommandNode = true)

Parameters

commandNode RootCommandNode

copyProxyCommandNode bool