Table of Contents

Class SentValidCommandEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information after a player sends the command.

public class SentValidCommandEventArgs : IPlayerEvent, IExiledEvent
Inheritance
SentValidCommandEventArgs
Implements
Inherited Members
Extension Methods

Constructors

SentValidCommandEventArgs(Player, ICommand, CommandType, string, string, bool)

Initializes a new instance of the SentValidCommandEventArgs class.

public SentValidCommandEventArgs(Player player, ICommand command, CommandType commandType, string query, string response, bool result)

Parameters

player Player
command ICommand
commandType CommandType
query string
response string
result bool

Properties

Command

Gets the command interface.

public ICommand Command { get; }

Property Value

ICommand

Player

Gets the player who is sending the command.

public Player Player { get; }

Property Value

Player

Query

Gets the command query.

public string Query { get; }

Property Value

string

Response

Gets the response of the command.

public string Response { get; }

Property Value

string

Result

Gets a value indicating whether the command succeeded.

public bool Result { get; }

Property Value

bool

Type

Gets the command type.

public CommandType Type { get; }

Property Value

CommandType