Class StoreMessageOnBehalfOfPlayerAction

java.lang.Object
games.stendhal.server.actions.admin.AdministrationAction
games.stendhal.server.actions.admin.StoreMessageOnBehalfOfPlayerAction
All Implemented Interfaces:
ActionListener, TurnListener

public class StoreMessageOnBehalfOfPlayerAction extends AdministrationAction implements TurnListener
Stores a message to another player on behalf of any player for admins >= level 2000 (e.g. postman)
  • Constructor Details

    • StoreMessageOnBehalfOfPlayerAction

      public StoreMessageOnBehalfOfPlayerAction()
  • Method Details

    • register

      public static void register()
    • perform

      public void perform(Player player, RPAction action)
      Specified by:
      perform in class AdministrationAction
    • onTurnReached

      public void onTurnReached(int currentTurn)
      Completes handling the store message action
      Specified by:
      onTurnReached in interface TurnListener
      Parameters:
      currentTurn - ignored