java.lang.Object
com.github.theword.queqiao.tool.command.SubCommand
com.github.theword.queqiao.tool.command.subCommand.client.ListCommand

public class ListCommand extends SubCommand
  • Constructor Details

    • ListCommand

      public ListCommand()
  • Method Details

    • getName

      public String getName()
      获取命令名称
      Specified by:
      getName in class SubCommand
      Returns:
      list
    • getDescription

      public String getDescription()
      获取命令描述
      Specified by:
      getDescription in class SubCommand
      Returns:
      获取当前 Websocket Client 列表
    • onExecute

      protected void onExecute(Object commandReturner, List<String> args)
      获取 WebSocket 客户端状态 整合游戏内命令调用
      Specified by:
      onExecute in class SubCommand
      Parameters:
      commandReturner - 命令执行者
      args - 命令参数
      Since:
      0.1.5