22 package com.realtime.crossfire.jxclient.commands;
26 import org.jetbrains.annotations.NotNull;
46 super(
"script", crossfireServerConnection);
62 public void execute(@NotNull
final String args) {
Abstract base class for Command implementations.
void drawInfoError(@NotNull final String message)
Displays an error message.
void execute(@NotNull final String args)
Executes the command with the given arguments.the command arguments
final CrossfireServerConnection crossfireServerConnection
The connection instance.
void newScript(@NotNull final String command)
Creates a new script instance.
ScriptCommand(@NotNull final ScriptManager scriptManager, @NotNull final CrossfireServerConnection crossfireServerConnection)
Creates a new instance.
Maintains currently running script processes.
Implements the "script" command.
boolean allArguments()
Returns whether all remaining commands should be included as arguments.whether all remaining commands...
Adds encoding/decoding of crossfire protocol packets to a ServerConnection.
final ScriptManager scriptManager
The ScriptManager to use.