Class ActionSenderUseChatBucket
java.lang.Object
games.stendhal.server.actions.validator.ActionSenderUseChatBucket
- All Implemented Interfaces:
ActionValidator
Uses the chat bucket
- Author:
- hendrik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(Player player, RPAction action, ActionData data) validates an RPAction.
-
Constructor Details
-
ActionSenderUseChatBucket
use chat bucket- Parameters:
attribute- name of attribute to use for amount estimation
-
-
Method Details
-
validate
validates an RPAction.- Specified by:
validatein interfaceActionValidator- Parameters:
player- Playeraction- RPAction to validatedata- data about this action- Returns:
nullif the action is valid; an error message otherwise
-