Class DebugMessagesCommand

java.lang.Object
com.realtime.crossfire.jxclient.commands.AbstractCommand
com.realtime.crossfire.jxclient.commands.DebugMessagesCommand
All Implemented Interfaces:
Command

public class DebugMessagesCommand extends AbstractCommand
Implements the "debug_messages" command. It prints text to the log window using different message types or enables/disables printing message types.
  • Constructor Details

    • DebugMessagesCommand

      public DebugMessagesCommand(@NotNull @NotNull CrossfireServerConnection crossfireServerConnection)
      Creates a new instance.
      Parameters:
      crossfireServerConnection - the connection instance
  • Method Details

    • allArguments

      public boolean allArguments()
      Description copied from interface: Command
      Returns whether all remaining commands should be included as arguments.
      Returns:
      whether all remaining commands should be included as arguments
    • execute

      public void execute(@NotNull @NotNull String args)
      Description copied from interface: Command
      Executes the command with the given arguments.
      Parameters:
      args - the command arguments
    • getHelp

      @NotNull public @NotNull String getHelp()
      Description copied from interface: Command
      Returns the help text for this command.
      Returns:
      the help text