Skip to content

Class ChatCommandSendEvent

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

public record ChatCommandSendEvent : IScopedEventWithResult<ChatSendResult>, IScopedEvent, IEventWithResult<ChatSendResult>, IEvent, IEquatable<ChatCommandSendEvent>

Inheritance

objectChatCommandSendEvent

Implements

IScopedEventWithResult<ChatSendResult>, IScopedEvent, IEventWithResult<ChatSendResult>, IEvent, IEquatable<ChatCommandSendEvent>

Inherited Members

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

Constructors

ChatCommandSendEvent(IPlayer, string, Side)

public ChatCommandSendEvent(IPlayer Player, string Command, Side Origin)

Parameters

Player IPlayer

Command string

Origin Side

Properties

Command

public string Command { get; init; }

Property Value

string

Origin

public Side Origin { get; init; }

Property Value

Side

Player

public IPlayer Player { get; init; }

Property Value

IPlayer

Result

public ChatSendResult Result { get; set; }

Property Value

ChatSendResult