C# Class Pluton.ChatCommands

Mostra file Open project: Notulp/Pluton Class Usage Examples

Public Properties

Property Type Description
Commands ChatCommand>.Dictionary
plugin BasePlugin

Public Methods

Method Description
ChatCommands ( BasePlugin pl ) : System
Register ( ChatCommand command ) : ChatCommand
Register ( string command ) : ChatCommand
RegisterWithMultipleNames ( string commands, string callback, string usage, string description ) : List
getChatCommands ( string command ) : Pluton.ChatCommand[]
getCommands ( ) : List
getDescriptions ( string command ) : string[]
getUsages ( string command ) : string[]

Method Details

ChatCommands() public method

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

Register() public method

public Register ( ChatCommand command ) : ChatCommand
command ChatCommand
return ChatCommand

Register() public method

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

RegisterWithMultipleNames() public method

public RegisterWithMultipleNames ( string commands, string callback, string usage, string description ) : List
commands string
callback string
usage string
description string
return List

getChatCommands() public method

public getChatCommands ( string command ) : Pluton.ChatCommand[]
command string
return Pluton.ChatCommand[]

getCommands() public method

public getCommands ( ) : List
return List

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 ChatCommand>.Dictionary

plugin public_oe property

public BasePlugin plugin
return BasePlugin