Crossfire JXClient, Trunk
Public Member Functions | Private Attributes | List of all members
com.realtime.crossfire.jxclient.commands.ScripttellCommand Class Reference
Inheritance diagram for com.realtime.crossfire.jxclient.commands.ScripttellCommand:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.commands.ScripttellCommand:
Collaboration graph

Public Member Functions

boolean allArguments ()
 
void execute (@NotNull final String args)
 
String getHelp ()
 
 ScripttellCommand (@NotNull final ScriptManager scriptManager, @NotNull final CrossfireServerConnection crossfireServerConnection)
 
- Public Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand
String getCommandName ()
 
String toString ()
 

Private Attributes

final ScriptManager scriptManager
 

Additional Inherited Members

- Protected Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand
 AbstractCommand (@NotNull final String commandName, @NotNull final CrossfireServerConnection crossfireServerConnection)
 
void drawInfo (@NotNull final String message)
 
void drawInfo (@NotNull final String message, final int color)
 
void drawInfoError (@NotNull final String message)
 

Detailed Description

Implements the "scripttell" command. It sends a "scripttell" command to a script.

Author
Andreas Kirschbaum

Definition at line 36 of file ScripttellCommand.java.

Constructor & Destructor Documentation

◆ ScripttellCommand()

com.realtime.crossfire.jxclient.commands.ScripttellCommand.ScripttellCommand ( @NotNull final ScriptManager  scriptManager,
@NotNull final CrossfireServerConnection  crossfireServerConnection 
)

Creates a new instance.

Parameters
scriptManagerthe script manager to use
crossfireServerConnectionthe connection instance

Definition at line 49 of file ScripttellCommand.java.

References com.realtime.crossfire.jxclient.commands.AbstractCommand.crossfireServerConnection, and com.realtime.crossfire.jxclient.commands.ScripttellCommand.scriptManager.

Member Function Documentation

◆ allArguments()

boolean com.realtime.crossfire.jxclient.commands.ScripttellCommand.allArguments ( )

Returns whether all remaining commands should be included as arguments.

Returns
whether all remaining commands should be included as arguments

Implements com.realtime.crossfire.jxclient.commands.Command.

Definition at line 55 of file ScripttellCommand.java.

◆ execute()

void com.realtime.crossfire.jxclient.commands.ScripttellCommand.execute ( @NotNull final String  args)

◆ getHelp()

String com.realtime.crossfire.jxclient.commands.ScripttellCommand.getHelp ( )

Returns the help text for this command.

Returns
the help text

Implements com.realtime.crossfire.jxclient.commands.Command.

Definition at line 86 of file ScripttellCommand.java.

Member Data Documentation

◆ scriptManager

final ScriptManager com.realtime.crossfire.jxclient.commands.ScripttellCommand.scriptManager
private

The documentation for this class was generated from the following file: