public class NPC extends Character<org.osbot.rs07.accessor.XNPC>
To clarify: A non-player-character.
model, prioritized
Constructor and Description |
---|
NPC(org.osbot.rs07.accessor.XNPC instance)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getActions()
Gets the model actions of this identifiable.
|
NPCDefinition |
getDefinition()
Gets the definition object for this entity.
|
int |
getId()
Gets the id of this identifiable.
|
int |
getIndex()
Gets the index of this character
|
int |
getLevel()
Gets the level of this npc.
|
int[] |
getModelIds()
Gets the model ids of this identifiable.
|
java.lang.String |
getName()
Gets the name of this identifiable.
|
int |
getPrayerIcon()
Returns the first index from
NPCDefinition.getHeadIconSprites() |
int |
getSizeX()
Gets the size of this entity in the x dimension.
|
int |
getSizeY()
Gets the size of this entity in the y dimension.
|
getAnimation, getAnimation2, getAnimationDelay, getAnimationSpot, getAnimationStanding, getCombatTime, getCurrentHealth, getGridX, getGridY, getHeadMessage, getHealth, getHealthPercent, getHealthPercentCache, getHitBarLoopCycle, getInteracting, getLocalX, getLocalY, getMaximumHealth, getRecentMessages, getRotation, getRotationForCamera, getWalkingQueueSize, getWalkingQueueX, getWalkingQueueY, getX, getY, getZ, hasMentionedPhrase, hasMentionedPhrase, hover, isAnimating, isAttackable, isHitBarVisible, isInteracting, isMoving, isUnderAttack
getAnimable, getModelHeight
getHeight, getModel, isPrioritized, setPrioritized, updateModel
getClient, getMethods
equals, getBot, supplyWrappers, wrap, wrapArray
public NPC(org.osbot.rs07.accessor.XNPC instance)
instance
- The XNPC
instancepublic int getId()
public int getIndex()
public int getSizeX()
public int getSizeY()
public int getPrayerIcon()
NPCDefinition.getHeadIconSprites()
getPrayerIcon
in class Character<org.osbot.rs07.accessor.XNPC>
public java.lang.String getName()
public int[] getModelIds()
public int getLevel()
public NPCDefinition getDefinition()
public java.lang.String[] getActions()