Interface ActionListener

All Known Implementing Classes:
AdministrationAction, AdminNoteAction, AlterAction, AlterKillAction, AskForSupportAction, AttackAction, AutoWalkAction, AwayAction, BanAction, CastSpellAction, ChallengePlayerAction, ConditionalStopAction, CStatusAction, DisplaceAction, DropAction, EmoteAction, EquipAction, EquipmentAction, FaceAction, ForsakeAction, GagAction, GhostModeAction, GroupManagementAction, GroupMessageAction, GrumpyAction, InfoAction, InspectAction, InspectKillAction, InspectQuestAction, InvisibleAction, JailAction, JailReportAction, KnockAction, LanguageAction, ListProducersAction, LookAction, MarkScrollAction, MoveAction, MoveContinuousAction, MoveToAction, NameAction, OutfitAction, OwnAction, ProgressStatusQueryAction, PublicChatAction, PushAction, QuestListAction, RemoteViewAction, RemoveDetailAction, ReorderAction, ReportErrorAction, ScriptRunner, SentenceAction, SetCombatKarmaAction, StendhalGroovyRunner, StopAction, StoreMessageAction, StoreMessageOnBehalfOfPlayerAction, SummonAction, SummonAtAction, SupportAnswerAction, TeleClickModeAction, TeleportAction, TeleportSendExtension, TeleportToAction, TellAction, TellAllAction, TradeAction, UseAction, WhereAction, WhoAction, WrapAction

public interface ActionListener
processes actions sent by the client.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAction​(Player player, RPAction action)
    processes the requested action.
  • Method Details

    • onAction

      void onAction(Player player, RPAction action)
      processes the requested action.
      Parameters:
      player - the caller of the action
      action - the action to be performed