LiveMap API
Loading...
Searching...
No Matches
livemap.command.AbstractCommand Class Referenceabstract
Collaboration diagram for livemap.command.AbstractCommand:

Public Member Functions

TextCommandResult Execute (TextCommandCallingArgs args)

Public Attributes

readonly ICommandArgumentParser[] ArgParsers
readonly bool RequiresPlayer

Protected Member Functions

 AbstractCommand (LiveMap server, string[] name, string? privilege=null, bool requiresPlayer=false, params ICommandArgumentParser[] argParsers)

Protected Attributes

readonly LiveMap _server

Properties

string[] Name [get]
string Description [get]
string Privilege [get]

Constructor & Destructor Documentation

◆ AbstractCommand()

livemap.command.AbstractCommand.AbstractCommand ( LiveMap server,
string[] name,
string? privilege = null,
bool requiresPlayer = false,
params ICommandArgumentParser[] argParsers )
inlineprotected

Member Function Documentation

◆ Execute()

TextCommandResult livemap.command.AbstractCommand.Execute ( TextCommandCallingArgs args)
abstract

Member Data Documentation

◆ _server

readonly LiveMap livemap.command.AbstractCommand._server
protected

◆ ArgParsers

readonly ICommandArgumentParser [] livemap.command.AbstractCommand.ArgParsers

◆ RequiresPlayer

readonly bool livemap.command.AbstractCommand.RequiresPlayer

Property Documentation

◆ Description

string livemap.command.AbstractCommand.Description
get

◆ Name

string [] livemap.command.AbstractCommand.Name
get

◆ Privilege

string livemap.command.AbstractCommand.Privilege
get

The documentation for this class was generated from the following file: