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
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
ChatCommandEvent(ILink, IPlayer, string, bool)
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
IsSigned
public bool IsSigned { get; init; }Property Value
Link
public ILink Link { get; init; }Property Value
Player
public IPlayer Player { get; init; }Property Value
Result
true if command should not be sent to Server
public bool Result { get; set; }