Package net.eternalclient.api.rs
Interface RSItemComposition
-
public interface RSItemComposition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String[]getGroundActions()intgetId()java.lang.String[]getInventoryActions()intgetInventoryModel()intgetIsStackable()You probably wantisStackable()intgetLinkedNoteId()RSModelgetModel(int quantity)java.lang.StringgetName()intgetNote()intgetPlaceholderId()intgetPlaceholderTemplateId()intgetPrice()booleanisMembers()default booleanisPlaceholder()default booleanisStackable()booleanisTradeable()voidsetName(java.lang.String name)RSItemCompositiontransform(int x)
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
setName
void setName(java.lang.String name)
-
getId
int getId()
-
getNote
int getNote()
-
getLinkedNoteId
int getLinkedNoteId()
-
getPlaceholderId
int getPlaceholderId()
-
getPlaceholderTemplateId
int getPlaceholderTemplateId()
-
getPrice
int getPrice()
-
isMembers
boolean isMembers()
-
isTradeable
boolean isTradeable()
-
getIsStackable
int getIsStackable()
You probably wantisStackable()This is the
intthat client code uses internally to represent this true/false value. It appears to only ever be set to 1 or 0- Returns:
- 0 when this type of item isn't stackable, 1 otherwise
-
getInventoryActions
java.lang.String[] getInventoryActions()
-
getGroundActions
java.lang.String[] getGroundActions()
-
getModel
RSModel getModel(int quantity)
-
getInventoryModel
int getInventoryModel()
-
transform
RSItemComposition transform(int x)
-
isStackable
default boolean isStackable()
-
isPlaceholder
default boolean isPlaceholder()
-
-