Package games.stendhal.client.actions
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 TypeMethodDescriptionboolean
Execute a chat command.int
Get the maximum number of formal parameters.int
Get the minimum number of formal parameters.
-
Method Details
-
execute
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.
-