Class ClientCommand<NCS>
java.lang.Object
io.github.theword.queqiao.core.command.CommandNode<NCS>
io.github.theword.queqiao.core.command.builtin.ClientCommand<NCS>
-
Field Summary
Fields inherited from class io.github.theword.queqiao.core.command.CommandNode
logger -
Constructor Summary
ConstructorsConstructorDescriptionClientCommand(org.slf4j.Logger logger, Config config, WebsocketManager websocketManager) -
Method Summary
Methods inherited from class io.github.theword.queqiao.core.command.CommandNode
addChild, execute, freeze, getChildren, getFullPath, getFullPermissionNode, getParent, getPermissionNode, getUsage, isFrozen, isRoot, sendCommandTree
-
Constructor Details
-
ClientCommand
-
-
Method Details
-
getName
获取命令名称- Specified by:
getNamein classCommandNode<NCS>- Returns:
- client
-
getDescription
获取命令描述- Specified by:
getDescriptionin classCommandNode<NCS>- Returns:
- Websocket Client 命令
-
onExecute
执行命令Pass
- Specified by:
onExecutein classCommandNode<NCS>- Parameters:
context- 命令执行上下文args- 命令参数
-