Méthode | Description | |
---|---|---|
ConsolePluginCommand ( string command, ConsoleCommand dlg, string help ) : System |
Construct a new ConsolePluginCommand for use with RegisterConsolePluginCommand(myCmd);
|
|
IsHelpfull ( string cmdWithParams ) : bool |
return true if the ShowHelp(..) method might be helpful
|
|
Run ( string cmd, string cmdParams ) : void |
Run the delegate the incoming string may contain the command, if so, it is chopped off the cmdParams[]
|
|
matchLength ( string cmdWithParams ) : int |
Returns the match length this command has upon the 'cmdWithParams' At least a higher number for "show plugin status" then "show" would return This is used to have multi length command verbs @see OopenSim.RunPluginCommands It will only run the one with the highest number
|
public ConsolePluginCommand ( string command, ConsoleCommand dlg, string help ) : System | ||
command | string | in the form of "showme new commands" |
dlg | ConsoleCommand | command delegate used in running |
help | string | the text displayed in "help showme new commands" |
Résultat | System |
public IsHelpfull ( string cmdWithParams ) : bool | ||
cmdWithParams | string | |
Résultat | bool |
public Run ( string cmd, string cmdParams ) : void | ||
cmd | string | |
cmdParams | string | |
Résultat | void |
public matchLength ( string cmdWithParams ) : int | ||
cmdWithParams | string | |
Résultat | int |