Class ChangePlayerOutfitAction

java.lang.Object
games.stendhal.server.entity.npc.action.ChangePlayerOutfitAction
All Implemented Interfaces:
ChatAction, PostTransitionAction

@Dev(category=OUTFIT, label="Outfit") public class ChangePlayerOutfitAction extends Object implements ChatAction
Modify parts or all of a players outfit.
Author:
jackrabbit
  • Constructor Details

    • ChangePlayerOutfitAction

      public ChangePlayerOutfitAction(Outfit outfit, boolean addOutfit, boolean temporaryOutfit)
      Creates a new ChangePlayerOutfitAction
      Parameters:
      outfit - the (part of) the outfit to be changed (i.e. removed or added)
      addOutfit - addOutfit = true: Add (part of) the outfit to the players current outfit addOutfit = false: Remove (part of) the outfit the player currently wears
      temporaryOutfit - is this a temporary outfit or a permanent change?
  • Method Details