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:
getName
in interfaceSubCommand
- Overrides:
getName
in classClientCommandAbstract
- Returns:
- list
-
getPrefix
获取命令前缀用于遍历时判断前驱后继
前缀为命令头则代表根命令
- Specified by:
getPrefix
in interfaceSubCommand
- Overrides:
getPrefix
in classClientCommandAbstract
- Returns:
- client
-
getDescription
获取命令描述- Specified by:
getDescription
in interfaceSubCommand
- Overrides:
getDescription
in classClientCommandAbstract
- Returns:
- 获取当前 Websocket Client 列表
-
getUsage
获取命令用法- Specified by:
getUsage
in interfaceSubCommand
- Overrides:
getUsage
in classClientCommandAbstract
- Returns:
- 命令用法 使用:/
ClientCommandAbstract.getUsage()
list
-
getPermissionNode
获取命令权限节点- Specified by:
getPermissionNode
in interfaceSubCommand
- Overrides:
getPermissionNode
in classClientCommandAbstract
- Returns:
- 权限节点
ClientCommandAbstract.getPermissionNode()
.list
-
execute
获取 WebSocket 客户端状态 整合游戏内命令调用- Specified by:
execute
in interfaceSubCommand
- Overrides:
execute
in classClientCommandAbstract
- Parameters:
commandReturner
- 命令执行者- Since:
- 0.1.5
-
execute
获取 WebSocket 客户端状态Pass
- Specified by:
execute
in interfaceSubCommand
- Overrides:
execute
in classClientCommandAbstract
- Parameters:
commandReturner
- 命令执行者boolVar
- 布尔值占位符- Since:
- 0.1.5
-