Class NPC

    • Constructor Detail

      • NPC

        public NPC​(java.lang.Object reference)
    • Method Detail

      • getComposite

        public org.dreambot.internal.cache.wrappers.def.NPCDef getComposite()
      • getActions

        public java.lang.String[] getActions()
        Specified by:
        getActions in class Entity
      • getSessionSettingID

        public int getSessionSettingID()
      • getRecolorOriginal

        public short[] getRecolorOriginal()
      • getRecolorTarget

        public short[] getRecolorTarget()
      • isDrawMinimapDot

        public boolean isDrawMinimapDot()
      • getID

        public int getID()
        Description copied from interface: Identifiable
        Gets ID number of the given object.
        Returns:
        the ID number as integer.
      • getLevel

        public int getLevel()
        Description copied from class: Character
        Gets the Character's combat level.
        Specified by:
        getLevel in class Character
        Returns:
        the combat level of this Character.
      • getName

        public java.lang.String getName()
        Description copied from class: Entity
        Gets the name of the entity
        Specified by:
        getName in interface Identifiable
        Specified by:
        getName in class Entity
        Returns:
        name of entity
      • getChildIds

        public int[] getChildIds()
      • getIndex

        public int getIndex()
        Description copied from class: Character
        Gets index location of the current Character.
        Specified by:
        getIndex in class Character
        Returns:
        the current index location.
      • setIndex

        public void setIndex​(int index)
      • getModelIDs

        public int[] getModelIDs()
      • getSize

        public int getSize()
      • getRealID

        public int getRealID()
      • getModel

        public Model getModel()
        Description copied from class: Entity
        Gets the model of the entity
        Specified by:
        getModel in class Entity
        Returns:
        model of entity
      • hasAction

        public boolean hasAction​(java.lang.String... actions)
        Description copied from class: Entity
        Checks whether given actions are in the list of menu actions for an entity
        Specified by:
        hasAction in class Entity
        Parameters:
        actions - actions to check
        Returns:
        true if all actions are in the list of menu actions
      • getHeadIcon

        public int getHeadIcon()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class Character