Show / Hide Table of Contents

Class Command

Represents a command a player can use to execute an action

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

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

IsCaseSensitive

Declaration
public bool IsCaseSensitive { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

Trigger(Player, string[])

Declaration
public void Trigger(Player player, string[] arguments)
Parameters
Type Name Description
Player player
string[] arguments

Events

| Edit this page View Source

Triggered

Declaration
public event EventHandler<CommandTriggeredEventArgs>? Triggered
Event Type
Type Description
EventHandler<CommandTriggeredEventArgs>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX