Class ExtractEntityValidator

java.lang.Object
games.stendhal.server.actions.validator.ExtractEntityValidator
All Implemented Interfaces:
ActionValidator

public class ExtractEntityValidator extends Object implements ActionValidator
extracts the entity
Author:
hendrik
  • Constructor Details

    • ExtractEntityValidator

      public ExtractEntityValidator()
  • Method Details

    • validate

      public String validate(Player player, RPAction action, ActionData data)
      Description copied from interface: ActionValidator
      validates an RPAction.
      Specified by:
      validate in interface ActionValidator
      Parameters:
      player - Player
      action - RPAction to validate
      data - data about this action
      Returns:
      null if the action is valid; an error message otherwise