Interface IChatCommand
- Namespace
- RichHudFramework.UI
- Assembly
- RichHudClient.dll
Represents a single chat command registered within a ICommandGroup.
public interface IChatCommand
Properties
ArgsRequired
The minimum number of arguments required to execute this command.
int ArgsRequired { get; }
Property Value
CmdName
The name/keyword of the command (e.g., "help" in "/prefix help").
string CmdName { get; }
Property Value
Events
CommandInvoked
Event raised when the command is successfully invoked by a user. Passes the array of arguments parsed from the chat message.
event Action<string[]> CommandInvoked