C# 클래스 Pluton.ChatCommands

파일 보기 프로젝트 열기: Notulp/Pluton 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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