C# Class Nekobot.Commands.CommandMap

Afficher le fichier Open project: Kusoneko/Nekobot Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AddCommand ( int index, string parts, Nekobot.Commands.Command command, bool isAlias ) : void

Method Details

AddCommand() public méthode

public AddCommand ( string text, Nekobot.Commands.Command command, bool isAlias ) : void
text string
command Nekobot.Commands.Command
isAlias bool
Résultat void

CanRun() public méthode

public CanRun ( Discord.User user, Discord.Channel channel, string &error ) : bool
user Discord.User
channel Discord.Channel
error string
Résultat bool

CommandMap() public méthode

public CommandMap ( ) : System.Collections.Generic
Résultat System.Collections.Generic

CommandMap() public méthode

public CommandMap ( CommandMap parent, string name, string fullName ) : System.Collections.Generic
parent CommandMap
name string
fullName string
Résultat System.Collections.Generic

GetCommands() public méthode

public GetCommands ( ) : IEnumerable
Résultat IEnumerable

GetCommands() public méthode

public GetCommands ( int index, string parts ) : IEnumerable
index int
parts string
Résultat IEnumerable

GetCommands() public méthode

public GetCommands ( string text ) : IEnumerable
text string
Résultat IEnumerable

GetItem() public méthode

public GetItem ( int index, string parts ) : CommandMap
index int
parts string
Résultat CommandMap

GetItem() public méthode

public GetItem ( string text ) : CommandMap
text string
Résultat CommandMap