C# Class Pluton.Rust.Objects.ChatCommands

Show file Open project: Notulp/Pluton.Rust

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.Rust.Objects.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.Rust.Objects.ChatCommand[]
command string
return Pluton.Rust.Objects.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 property

public Dictionary Commands
return ChatCommand>.Dictionary

plugin public property

public BasePlugin plugin
return BasePlugin