Export ObjectComposition ID
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -29,6 +29,13 @@ package net.runelite.api;
|
||||
*/
|
||||
public interface ObjectComposition
|
||||
{
|
||||
/**
|
||||
* Gets ID for the object.
|
||||
*
|
||||
* @return the object ID
|
||||
*/
|
||||
int getId();
|
||||
|
||||
/**
|
||||
* Gets the name of the object.
|
||||
*
|
||||
|
||||
@@ -29,6 +29,10 @@ import net.runelite.mapping.Import;
|
||||
|
||||
public interface RSObjectComposition extends ObjectComposition
|
||||
{
|
||||
@Import("id")
|
||||
@Override
|
||||
int getId();
|
||||
|
||||
@Import("name")
|
||||
@Override
|
||||
String getName();
|
||||
|
||||
Reference in New Issue
Block a user