[This is preliminary documentation and is subject to change.]
Finds an instance of CommandDescriptor for a given command.
Case-insensitive, but no autocompletion.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)
Syntax
| C# |
[CanBeNullAttribute] public static CommandDescriptor GetDescriptor( string commandName, bool alsoCheckAliases )
Parameters
- commandName
- String
Command to find.
- alsoCheckAliases
- Boolean
Whether to check command aliases.
Return Value
Relevant CommandDesriptor object if found, null if not found.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | If commandName is null. |