Class NpcRef


  • public final class NpcRef
    extends java.lang.Object
    Immutable identity and menu snapshot for a loaded NPC.
    • Method Detail

      • getId

        public int getId()
      • getIndex

        public int getIndex()
      • getWorldViewId

        public int getWorldViewId()
      • getName

        public java.lang.String getName()
      • getCombatLevel

        public int getCombatLevel()
      • getLocation

        public net.runelite.api.coords.WorldPoint getLocation()
      • getActions

        public java.util.List<java.lang.String> getActions()
      • hasAction

        public boolean hasAction​(java.lang.String action)