openrune: NPCDefinition -> NPCComposition
This commit is contained in:
@@ -341,7 +341,7 @@ public interface RSClient extends RSGameShell, Client
|
||||
RSObjectDefinition getRSObjectDefinition(int objectId);
|
||||
|
||||
@Import("getNpcDefinition")
|
||||
RSNPCDefinition getRSNpcDefinition(int npcId);
|
||||
RSNPCComposition getRSNpcDefinition(int npcId);
|
||||
|
||||
@Import("viewportZoom")
|
||||
@Override
|
||||
|
||||
@@ -7,7 +7,7 @@ public interface RSNPC extends RSActor, NPC
|
||||
{
|
||||
@Import("definition")
|
||||
@Override
|
||||
RSNPCDefinition getDefinition();
|
||||
RSNPCComposition getDefinition();
|
||||
|
||||
@Override
|
||||
int getIndex();
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package net.runelite.rs.api;
|
||||
|
||||
import net.runelite.api.NPCDefinition;
|
||||
import net.runelite.api.NPCComposition;
|
||||
import net.runelite.mapping.Import;
|
||||
|
||||
public interface RSNPCDefinition extends NPCDefinition
|
||||
public interface RSNPCComposition extends NPCComposition
|
||||
{
|
||||
@Import("name")
|
||||
@Override
|
||||
@@ -51,7 +51,7 @@ public interface RSNPCDefinition extends NPCDefinition
|
||||
|
||||
@Import("transform")
|
||||
@Override
|
||||
RSNPCDefinition transform();
|
||||
RSNPCComposition transform();
|
||||
|
||||
@Import("size")
|
||||
@Override
|
||||
Reference in New Issue
Block a user