Show / Hide Table of Contents

Class CommandService

Service to allow you to add and remove commands, these commands can then be handled by their Triggered event

Inheritance
object
CommandService
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.Services
Assembly: SlipeServer.Server.dll
Syntax
public class CommandService

Constructors

| Edit this page View Source

CommandService(MtaServer)

Declaration
public CommandService(MtaServer server)
Parameters
Type Name Description
MtaServer server

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
Type Description
Command
| Edit this page View Source

RemoveCommand(Command)

Declaration
public void RemoveCommand(Command command)
Parameters
Type Name Description
Command command
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX