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

The CommandManager type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
GetCommands()()()()
Gets a list of all commands (includding hidden ones).
GetCommands(Boolean)
Gets a list of ONLY hidden or non-hidden commands, not both.
GetCommands(CommandCategory, Boolean)
Gets a list of commands in a specified category. Note that commands may belong to more than one category.
GetCommands(Rank, Boolean)
Gets a list of commands available to a specified rank.
GetDescriptor(String, Boolean)
Finds an instance of CommandDescriptor for a given command. Case-insensitive, but no autocompletion.
IsValidCommandName(String)
Checks whether a command name is acceptable. Constraints are similar to Player.IsValidName, except for length. Command names must bet between 1 and 16 characters long.
ParseCommand(Player, CommandReader, Boolean)
Parses and calls a specified command.
RegisterCustomCommand(CommandDescriptor)
Registers a custom command with fCraft, to be made available for players to call. Raises CommandManager.CommandRegistering/CommandRegistered events. CommandRegistering event may silently cancel the registration.

See Also