Class InfoAction

java.lang.Object
games.stendhal.server.actions.query.InfoAction
All Implemented Interfaces:
ActionListener

public class InfoAction extends Object implements ActionListener
Answers with the server time and if this is the test server with the version information.
Author:
hendrik
  • Constructor Details

    • InfoAction

      public InfoAction()
  • Method Details

    • onAction

      public void onAction(Player player, RPAction action)
      Description copied from interface: ActionListener
      processes the requested action.
      Specified by:
      onAction in interface ActionListener
      Parameters:
      player - the caller of the action
      action - the action to be performed