PluginCommands

Namespace: uModPlugins

Assembly: uMod.Core.dll

Inheritance Object PluginCommands

Implements IPluginCommandHandler

Summary

Plugin command handler

Methods

Name

Summary

Add (ICommandInfo)

Adds a new command

CreateCallback (ICommandDefinition, Func<IPlayer, IArgs, CommandState>)

Creates a new command callback using specified function

CreateCallback (ICommandDefinition, String)

Creates a new command callback using the specified hook name

GetDescription (String, String)

Gets command description

GetHelp (String, String)

Gets command syntax help

Remove (ICommandInfo)

Removes a command

Remove (String)

Removes a command