Class CommandService
Service to allow you to add and remove commands, these commands can then be handled by their Triggered
event
Inheritance
CommandService
Assembly: SlipeServer.Server.dll
Syntax
public class CommandService
Constructors
|
Edit this page
View Source
CommandService(MtaServer)
Declaration
public CommandService(MtaServer server)
Parameters
Methods
|
Edit this page
View Source
AddCommand(string, bool)
Declaration
public Command AddCommand(string command, bool isCaseSensitive = true)
Parameters
Type |
Name |
Description |
string |
command |
|
bool |
isCaseSensitive |
|
Returns
|
Edit this page
View Source
RemoveCommand(Command)
Declaration
public void RemoveCommand(Command command)
Parameters
Type |
Name |
Description |
Command |
command |
|