C# Класс Pluton.ChatCommands

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Commands ChatCommand>.Dictionary
plugin BasePlugin

Открытые методы

Метод Описание
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[]

Описание методов

ChatCommands() публичный Метод

public ChatCommands ( BasePlugin pl ) : System
pl BasePlugin
Результат System

Register() публичный Метод

public Register ( ChatCommand command ) : ChatCommand
command ChatCommand
Результат ChatCommand

Register() публичный Метод

public Register ( string command ) : ChatCommand
command string
Результат ChatCommand

RegisterWithMultipleNames() публичный Метод

public RegisterWithMultipleNames ( string commands, string callback, string usage, string description ) : List
commands string
callback string
usage string
description string
Результат List

getChatCommands() публичный Метод

public getChatCommands ( string command ) : Pluton.ChatCommand[]
command string
Результат Pluton.ChatCommand[]

getCommands() публичный Метод

public getCommands ( ) : List
Результат List

getDescriptions() публичный Метод

public getDescriptions ( string command ) : string[]
command string
Результат string[]

getUsages() публичный Метод

public getUsages ( string command ) : string[]
command string
Результат string[]

Описание свойств

Commands публичное свойство

public Dictionary Commands
Результат ChatCommand>.Dictionary

plugin публичное свойство

public BasePlugin plugin
Результат BasePlugin