C# 클래스 Nekobot.Commands.CommandMap

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

공개 메소드들

메소드 설명
AddCommand ( string text, Nekobot.Commands.Command command, bool isAlias ) : void
CanRun ( Discord.User user, Discord.Channel channel, string &error ) : bool
CommandMap ( ) : System.Collections.Generic
CommandMap ( CommandMap parent, string name, string fullName ) : System.Collections.Generic
GetCommands ( ) : IEnumerable
GetCommands ( int index, string parts ) : IEnumerable
GetCommands ( string text ) : IEnumerable
GetItem ( int index, string parts ) : CommandMap
GetItem ( string text ) : CommandMap

비공개 메소드들

메소드 설명
AddCommand ( int index, string parts, Nekobot.Commands.Command command, bool isAlias ) : void

메소드 상세

AddCommand() 공개 메소드

public AddCommand ( string text, Nekobot.Commands.Command command, bool isAlias ) : void
text string
command Nekobot.Commands.Command
isAlias bool
리턴 void

CanRun() 공개 메소드

public CanRun ( Discord.User user, Discord.Channel channel, string &error ) : bool
user Discord.User
channel Discord.Channel
error string
리턴 bool

CommandMap() 공개 메소드

public CommandMap ( ) : System.Collections.Generic
리턴 System.Collections.Generic

CommandMap() 공개 메소드

public CommandMap ( CommandMap parent, string name, string fullName ) : System.Collections.Generic
parent CommandMap
name string
fullName string
리턴 System.Collections.Generic

GetCommands() 공개 메소드

public GetCommands ( ) : IEnumerable
리턴 IEnumerable

GetCommands() 공개 메소드

public GetCommands ( int index, string parts ) : IEnumerable
index int
parts string
리턴 IEnumerable

GetCommands() 공개 메소드

public GetCommands ( string text ) : IEnumerable
text string
리턴 IEnumerable

GetItem() 공개 메소드

public GetItem ( int index, string parts ) : CommandMap
index int
parts string
리턴 CommandMap

GetItem() 공개 메소드

public GetItem ( string text ) : CommandMap
text string
리턴 CommandMap