Class DefaultScriptProcess

java.lang.Object
com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess
com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess
All Implemented Interfaces:
ScriptProcess, Comparable<ScriptProcess>, Runnable

public class DefaultScriptProcess extends AbstractScriptProcess
A script process that executes an external command.
  • Constructor Details

    • DefaultScriptProcess

      public DefaultScriptProcess(int scriptId, @NotNull @NotNull String filename, @NotNull @NotNull CommandQueue commandQueue, @NotNull @NotNull CrossfireServerConnection crossfireServerConnection, @NotNull @NotNull Stats stats, @NotNull @NotNull FloorView floorView, @NotNull @NotNull ItemSet itemSet, @NotNull @NotNull SpellsManager spellsManager, @NotNull @NotNull MapUpdaterState mapUpdaterState, @NotNull @NotNull SkillSet skillSet) throws IOException
      Creates a new instance.
      Parameters:
      scriptId - the script ID identifying the new script
      filename - the command including arguments to execute
      commandQueue - the command queue for sending commands
      crossfireServerConnection - the server connection
      stats - the stats instance to watch
      floorView - the floor view to use
      itemSet - the item set instance to use
      spellsManager - the spells manager instance to use
      mapUpdaterState - the map updater state instance to use
      skillSet - the skill set for looking up skill names
      Throws:
      IOException - if the script cannot be created
  • Method Details