Class EquipmentActionData
java.lang.Object
games.stendhal.server.core.rp.equipping.EquipmentActionData
data use in an equipment action
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSourceItem(Entity sourceItem)
void
addSourceSlot(EntitySlot sourceSlot)
int
boolean
void
setErrorMessage(String message)
stores the in-game error message to be sent to the client.void
setItemName(String itemName)
void
void
setQuantity(int quantity)
void
setSourceRoot(Entity sourceRoot)
void
setSwapable(boolean swapable)
void
setTargetRoot(Entity targetRoot)
void
setTargetSlot(EntitySlot targetSlot)
void
setWarningMessage(String warningMessage)
-
Constructor Details
-
EquipmentActionData
public EquipmentActionData()
-
-
Method Details
-
getItemName
-
setItemName
-
getQuantity
public int getQuantity() -
setQuantity
public void setQuantity(int quantity) -
getSourceSlots
-
addSourceSlot
-
getTargetSlot
-
setTargetSlot
-
getSourceItems
-
addSourceItem
-
getPlayer
-
setPlayer
-
isSwapable
public boolean isSwapable() -
setSwapable
public void setSwapable(boolean swapable) -
getErrorMessage
-
setErrorMessage
stores the in-game error message to be sent to the client. "" means fail silently.- Parameters:
message
- in-game error message
-
getWarningMessage
-
setWarningMessage
-
getSourceRoot
-
setSourceRoot
-
getTargetRoot
-
setTargetRoot
-