Package rsb.wrappers
Class RSCharacter
java.lang.Object
rsb.methods.MethodProvider
rsb.wrappers.RSCharacter
- All Implemented Interfaces:
Clickable
,Clickable07
,Positionable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class rsb.methods.MethodProvider
methods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Performs an action on a humanoid character (tall and skinny).boolean
Performs an action on a humanoid character (tall and skinny).boolean
doClick()
boolean
doClick
(boolean leftClick) boolean
doHover()
Hovers this Player/NPCboolean
int
int
int
int
int
getLevel()
Gets the tile position of the entity as provided by the clientnet.runelite.api.Point
Gets the minimap location, of the character.getModel()
getName()
int
int[]
getPathX()
int[]
getPathY()
net.runelite.api.Point
int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isValid()
boolean
turnTo()
Turns towards the RSCharacter.
-
Constructor Details
-
RSCharacter
-
-
Method Details
-
getPathX
public int[] getPathX() -
getPathY
public int[] getPathY() -
doAction
Performs an action on a humanoid character (tall and skinny). -
doAction
Performs an action on a humanoid character (tall and skinny). -
getModel
-
getAnimation
public int getAnimation() -
getGraphic
public int getGraphic() -
getHeight
public int getHeight() -
getHPPercent
public int getHPPercent()- Returns:
- The % of HP
-
getLocation
Description copied from interface:Positionable
Gets the tile position of the entity as provided by the client- Specified by:
getLocation
in interfacePositionable
- Returns:
- the tile position of the entity if it exists, else null
-
getMessage
-
getMinimapLocation
public net.runelite.api.Point getMinimapLocation()Gets the minimap location, of the character. Note: This does work when it's walking!- Returns:
- The location of the character on the minimap.
-
getName
-
getLevel
public int getLevel() -
getOrientation
public int getOrientation() -
getScreenLocation
public net.runelite.api.Point getScreenLocation() -
isBeingAttacked
public boolean isBeingAttacked() -
isAttacking
public boolean isAttacking() -
isInCombat
public boolean isInCombat() -
isInteractingWithLocalPlayer
public boolean isInteractingWithLocalPlayer() -
isAnimating
public boolean isAnimating() -
isOnScreen
public boolean isOnScreen() -
isValid
public boolean isValid() -
hashCode
public int hashCode() -
equals
-
turnTo
public boolean turnTo()Turns towards the RSCharacter.- Specified by:
turnTo
in interfacePositionable
- Returns:
true
- If RSCharacter is on screen after attempting to move camera angle.
-
doHover
public boolean doHover()Hovers this Player/NPC -
doClick
public boolean doClick() -
doClick
public boolean doClick(boolean leftClick) -
isClickable
public boolean isClickable()- Specified by:
isClickable
in interfaceClickable07
-
getDirectionFacing
-