Class EquipmentActionData

java.lang.Object
games.stendhal.server.core.rp.equipping.EquipmentActionData

public class EquipmentActionData extends Object
data use in an equipment action
Author:
hendrik
  • Constructor Details

    • EquipmentActionData

      public EquipmentActionData()
  • Method Details

    • getItemName

      public String getItemName()
    • setItemName

      public void setItemName(String itemName)
    • getQuantity

      public int getQuantity()
    • setQuantity

      public void setQuantity(int quantity)
    • getSourceSlots

      public List<EntitySlot> getSourceSlots()
    • addSourceSlot

      public void addSourceSlot(EntitySlot sourceSlot)
    • getTargetSlot

      public EntitySlot getTargetSlot()
    • setTargetSlot

      public void setTargetSlot(EntitySlot targetSlot)
    • getSourceItems

      public List<Entity> getSourceItems()
    • addSourceItem

      public void addSourceItem(Entity sourceItem)
    • getPlayer

      public Player getPlayer()
    • setPlayer

      public void setPlayer(Player player)
    • isSwapable

      public boolean isSwapable()
    • setSwapable

      public void setSwapable(boolean swapable)
    • getErrorMessage

      public String getErrorMessage()
    • setErrorMessage

      public void setErrorMessage(String message)
      stores the in-game error message to be sent to the client. "" means fail silently.
      Parameters:
      message - in-game error message
    • getWarningMessage

      public String getWarningMessage()
    • setWarningMessage

      public void setWarningMessage(String warningMessage)
    • getSourceRoot

      public Entity getSourceRoot()
    • setSourceRoot

      public void setSourceRoot(Entity sourceRoot)
    • getTargetRoot

      public Entity getTargetRoot()
    • setTargetRoot

      public void setTargetRoot(Entity targetRoot)