Class SentValidCommandEventArgs
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
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
Query
Gets the command query.
public string Query { get; }
Property Value
Response
Gets the response of the command.
public string Response { get; }
Property Value
Result
Gets a value indicating whether the command succeeded.
public bool Result { get; }
Property Value
Type
Gets the command type.
public CommandType Type { get; }
Property Value
- CommandType