Class ListCommandAbstract
java.lang.Object
com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
com.github.theword.queqiao.tool.command.subCommand.client.ListCommandAbstract
- All Implemented Interfaces:
SubCommand
-
Constructor Details
-
ListCommandAbstract
public ListCommandAbstract()
-
-
Method Details
-
getName
获取命令名称- Specified by:
getNamein interfaceSubCommand- Overrides:
getNamein classClientCommandAbstract- Returns:
- list
-
getPrefix
获取命令前缀用于遍历时判断前驱后继
前缀为命令头则代表根命令
- Specified by:
getPrefixin interfaceSubCommand- Overrides:
getPrefixin classClientCommandAbstract- Returns:
- client
-
getDescription
获取命令描述- Specified by:
getDescriptionin interfaceSubCommand- Overrides:
getDescriptionin classClientCommandAbstract- Returns:
- 获取当前 Websocket Client 列表
-
getUsage
获取命令用法- Specified by:
getUsagein interfaceSubCommand- Overrides:
getUsagein classClientCommandAbstract- Returns:
- 命令用法 使用:/
ClientCommandAbstract.getUsage()list
-
getPermissionNode
获取命令权限节点- Specified by:
getPermissionNodein interfaceSubCommand- Overrides:
getPermissionNodein classClientCommandAbstract- Returns:
- 权限节点
ClientCommandAbstract.getPermissionNode().list
-
execute
获取 WebSocket 客户端状态 整合游戏内命令调用- Specified by:
executein interfaceSubCommand- Overrides:
executein classClientCommandAbstract- Parameters:
commandReturner- 命令执行者- Since:
- 0.1.5
-
execute
获取 WebSocket 客户端状态Pass
- Specified by:
executein interfaceSubCommand- Overrides:
executein classClientCommandAbstract- Parameters:
commandReturner- 命令执行者boolVar- 布尔值占位符- Since:
- 0.1.5
-