[This is preliminary documentation and is subject to change.]

Finds an instance of CommandDescriptor for a given command. Case-insensitive, but no autocompletion.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

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

ExceptionCondition
System..::..ArgumentNullException commandName is null.

See Also