Interface SlashAction

All Known Implementing Classes:
AcceptChallengeAction, AlterKillAction, AutoWalkAction, AutoWalkStopAction, CastSpellAction, CreateChallengeAction, InspectKillAction, InspectQuestAction, MoveContinuousAction, RemoveDetailAction, SetCombatKarmaAction

public interface SlashAction
A chat command.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    execute​(String[] params, String remainder)
    Execute a chat command.
    int
    Get the maximum number of formal parameters.
    int
    Get the minimum number of formal parameters.
  • Method Details

    • execute

      boolean execute(String[] params, String remainder)
      Execute a chat command.
      Parameters:
      params - The formal parameters.
      remainder - Line content after parameters.
      Returns:
      true if command was handled.
    • getMaximumParameters

      int getMaximumParameters()
      Get the maximum number of formal parameters.
      Returns:
      The parameter count.
    • getMinimumParameters

      int getMinimumParameters()
      Get the minimum number of formal parameters.
      Returns:
      The parameter count.