CommandManager class
特性指令管理器
public sealed class CommandManager
Public Members
name | description |
---|---|
ServiceIsRunning { get; } | 指令服务正常运行标识 |
DeleteDynamicCommand(…) | 删除指定ID的指令 |
GetCommandList() | 获取当前服务下的所有指令组名 |
GetGroupCmdSeries(…) | 获取指定群中的指令使能列表 |
GetInstance<T>(…) | 获取已注册过的实例 |
MappingCommands(…) | 自动注册所有指令 |
RegisterDynamicCommand(…) | 动态注册指令 (2 methods) |
TryDisableCommandSeries(…) | 尝试禁用指令组 |
TryDisableGroupCommand(…) | 禁用群组中的指令 |
TryEnableCommandSeries(…) | 尝试启用指令组 |
TryEnableGroupCommand(…) | 启用群组中禁用的指令 |
See Also
- namespace Sora.Command