Skip to content

Class ChatCommandEvent

Namespace: Void.Proxy.Api.Events.Commands
Assembly: Void.Proxy.Api.dll

public record ChatCommandEvent : IScopedEventWithResult<bool>, IScopedEvent, IEventWithResult<bool>, IEvent, IEquatable<ChatCommandEvent>

Inheritance

objectChatCommandEvent

Implements

IScopedEventWithResult<bool>, IScopedEvent, IEventWithResult<bool>, IEvent, IEquatable<ChatCommandEvent>

Inherited Members

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

Constructors

public ChatCommandEvent(ILink Link, IPlayer Player, string Command, bool IsSigned)

Parameters

Link ILink

Player IPlayer

Command string

IsSigned bool

Properties

Command

public string Command { get; init; }

Property Value

string

IsSigned

public bool IsSigned { get; init; }

Property Value

bool

public ILink Link { get; init; }

Property Value

ILink

Player

public IPlayer Player { get; init; }

Property Value

IPlayer

Result

true if command should not be sent to Server

public bool Result { get; set; }

Property Value

bool