Class Command
Represents a command a player can use to execute an action
Assembly: SlipeServer.Server.dll
Syntax
Constructors
|
Edit this page
View Source
Command(string, bool)
Declaration
public Command(string commandText, bool isCaseSensitive)
Parameters
Type |
Name |
Description |
string |
commandText |
|
bool |
isCaseSensitive |
|
Properties
|
Edit this page
View Source
CommandText
Declaration
public string CommandText { get; set; }
Property Value
|
Edit this page
View Source
IsCaseSensitive
Declaration
public bool IsCaseSensitive { get; }
Property Value
Methods
|
Edit this page
View Source
Trigger(Player, string[])
Declaration
public void Trigger(Player player, string[] arguments)
Parameters
Events
|
Edit this page
View Source
Triggered
Declaration
public event EventHandler<CommandTriggeredEventArgs>? Triggered
Event Type