Export ObjectComposition ID

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-10-27 11:45:52 +02:00
parent b5d57ee932
commit b6af8dc4db
2 changed files with 11 additions and 0 deletions

View File

@@ -29,6 +29,13 @@ package net.runelite.api;
*/ */
public interface ObjectComposition public interface ObjectComposition
{ {
/**
* Gets ID for the object.
*
* @return the object ID
*/
int getId();
/** /**
* Gets the name of the object. * Gets the name of the object.
* *

View File

@@ -29,6 +29,10 @@ import net.runelite.mapping.Import;
public interface RSObjectComposition extends ObjectComposition public interface RSObjectComposition extends ObjectComposition
{ {
@Import("id")
@Override
int getId();
@Import("name") @Import("name")
@Override @Override
String getName(); String getName();