Class ItemDefinition
- java.lang.Object
-
- org.rspeer.game.adapter.Adapter<P>
-
- org.rspeer.game.adapter.definition.Definition<RSItemDefinition>
-
- org.rspeer.game.adapter.definition.ItemDefinition
-
- All Implemented Interfaces:
Actionable,Identifiable,Nameable
public class ItemDefinition extends Definition<RSItemDefinition>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Actionable
Actionable.Query<Q extends Actionable.Query<Q>>
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Identifiable
Identifiable.Query<Q extends Identifiable.Query<Q>>
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Nameable
Nameable.Query<Q extends Nameable.Query<Q>>
-
-
Constructor Summary
Constructors Constructor Description ItemDefinition(RSItemDefinition provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Equipment.SlotgetEquipmentSlot()intgetNotedId()intgetParameter(int parameter)intgetParameter(ItemParameter parameter)Map<Integer,Object>getParameters()intgetPlaceholderId()String[]getRawGroundActions()List<Equipment.Slot>getSecondaryEquipmentSlots()String[]getSubMenuActions(int parentActionIndex)intgetUnnotedId()booleanisNoted()booleanisPlaceholder()booleanisStackable()booleanisStockMarketable()booleanisTwoHanded()-
Methods inherited from class org.rspeer.game.adapter.definition.Definition
getActions, getId, getName, getProvider, getRawActions
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.rspeer.game.adapter.type.Actionable
containsAction, containsAction
-
-
-
-
Constructor Detail
-
ItemDefinition
public ItemDefinition(RSItemDefinition provider)
-
-
Method Detail
-
getParameter
public int getParameter(int parameter)
-
getParameter
public int getParameter(ItemParameter parameter)
-
isStackable
public boolean isStackable()
-
isNoted
public boolean isNoted()
-
isPlaceholder
public boolean isPlaceholder()
-
getNotedId
public int getNotedId()
-
getEquipmentSlot
public Equipment.Slot getEquipmentSlot()
-
getSecondaryEquipmentSlots
public List<Equipment.Slot> getSecondaryEquipmentSlots()
-
isTwoHanded
public boolean isTwoHanded()
-
getPlaceholderId
public int getPlaceholderId()
-
getUnnotedId
public int getUnnotedId()
-
isStockMarketable
public boolean isStockMarketable()
-
getRawGroundActions
public String[] getRawGroundActions()
-
getSubMenuActions
public String[] getSubMenuActions(int parentActionIndex)
-
-