Package net.runelite.api
Interface TileItem
-
- All Superinterfaces:
Node
,Renderable
public interface TileItem extends Renderable
Represents an item inside anItemLayer
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
OWNERSHIP_GROUP
static int
OWNERSHIP_NONE
static int
OWNERSHIP_OTHER
static int
OWNERSHIP_SELF
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDespawnTime()
Get the time, in server ticks, when the item despawnsint
getId()
int
getOwnership()
Get the item ownershipint
getQuantity()
int
getVisibleTime()
Get the time, in server ticks, when the item becomes visible to other playersboolean
isPrivate()
Test whether the item is private-
Methods inherited from interface net.runelite.api.Node
getHash, getNext, getPrevious
-
Methods inherited from interface net.runelite.api.Renderable
getModel, getModelHeight, setModelHeight
-
-
-
-
Field Detail
-
OWNERSHIP_NONE
static final int OWNERSHIP_NONE
- See Also:
- Constant Field Values
-
OWNERSHIP_SELF
static final int OWNERSHIP_SELF
- See Also:
- Constant Field Values
-
OWNERSHIP_OTHER
static final int OWNERSHIP_OTHER
- See Also:
- Constant Field Values
-
OWNERSHIP_GROUP
static final int OWNERSHIP_GROUP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
int getId()
- Returns:
- the ID of the item
- See Also:
ItemID
-
getQuantity
int getQuantity()
-
getVisibleTime
int getVisibleTime()
Get the time, in server ticks, when the item becomes visible to other players- Returns:
- See Also:
Client.getTickCount()
-
getDespawnTime
int getDespawnTime()
Get the time, in server ticks, when the item despawns- Returns:
- See Also:
Client.getTickCount()
-
getOwnership
int getOwnership()
Get the item ownership- Returns:
-
isPrivate
boolean isPrivate()
Test whether the item is private- Returns:
-
-