C# Class Pluton.ConsoleCommands

Mostrar archivo Open project: Notulp/Pluton Class Usage Examples

Public Properties

Property Type Description
Commands ConsoleCommand>.Dictionary
plugin BasePlugin

Public Methods

Method Description
ConsoleCommands ( BasePlugin pl ) : System
Register ( ConsoleCommand command ) : ConsoleCommand
Register ( string command ) : ConsoleCommand
getCommands ( ) : List
getConsoleCommands ( string command ) : Pluton.ConsoleCommand[]
getDescriptions ( string command ) : string[]
getUsages ( string command ) : string[]

Method Details

ConsoleCommands() public method

public ConsoleCommands ( BasePlugin pl ) : System
pl BasePlugin
return System

Register() public method

public Register ( ConsoleCommand command ) : ConsoleCommand
command ConsoleCommand
return ConsoleCommand

Register() public method

public Register ( string command ) : ConsoleCommand
command string
return ConsoleCommand

getCommands() public method

public getCommands ( ) : List
return List

getConsoleCommands() public method

public getConsoleCommands ( string command ) : Pluton.ConsoleCommand[]
command string
return Pluton.ConsoleCommand[]

getDescriptions() public method

public getDescriptions ( string command ) : string[]
command string
return string[]

getUsages() public method

public getUsages ( string command ) : string[]
command string
return string[]

Property Details

Commands public_oe property

public Dictionary Commands
return ConsoleCommand>.Dictionary

plugin public_oe property

public BasePlugin plugin
return BasePlugin