Package games.stendhal.client.actions
Interface SlashAction
- All Known Implementing Classes:
AcceptChallengeAction,AlterKillAction,AutoWalkAction,AutoWalkStopAction,CastSpellAction,CreateChallengeAction,EmojiListAction,InspectKillAction,InspectQuestAction,MoveContinuousAction,RemoveDetailAction
public interface SlashAction
A chat command.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanExecute a chat command.intGet the maximum number of formal parameters.intGet the minimum number of formal parameters.
-
Method Details
-
execute
Execute a chat command.- Parameters:
params- The formal parameters.remainder- Line content after parameters.- Returns:
trueif 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.
-