Package net.runelite.api
Interface ObjectComposition
-
- All Superinterfaces:
ParamHolder
public interface ObjectComposition extends ParamHolder
Information about a specificObjectID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getActions()
The 5 menuops this object has when in world.int
getId()
Gets ID for the object.ObjectComposition
getImpostor()
Get the object composition the player's state says this object should transmogrify into.int[]
getImpostorIds()
int
getMapIconId()
Gets the index of this object in theClient.getMapIcons()
array, or -1 if it has no full map iconint
getMapSceneId()
Gets the index of this object in theClient.getMapScene()
array, or -1 if it has no map scene iconString
getName()
Gets the name of the object.-
Methods inherited from interface net.runelite.api.ParamHolder
getIntValue, getParams, getStringValue, setParams, setValue, setValue
-
-
-
-
Method Detail
-
getId
int getId()
Gets ID for the object.- See Also:
ObjectID
-
getName
String getName()
Gets the name of the object.
-
getActions
String[] getActions()
The 5 menuops this object has when in world. Index 0 corresponds toMenuAction.GAME_OBJECT_FIRST_OPTION
, Index 2 toMenuAction.GAME_OBJECT_SECOND_OPTION
and so on.
-
getMapSceneId
int getMapSceneId()
Gets the index of this object in theClient.getMapScene()
array, or -1 if it has no map scene icon
-
getMapIconId
int getMapIconId()
Gets the index of this object in theClient.getMapIcons()
array, or -1 if it has no full map icon
-
getImpostorIds
int[] getImpostorIds()
-
getImpostor
ObjectComposition getImpostor()
Get the object composition the player's state says this object should transmogrify into.- Throws:
NullPointerException
- ifgetImpostorIds()
is null
-
-