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 TypeMethodDescriptionbooleanPerforms an action on a humanoid character (tall and skinny).booleanPerforms an action on a humanoid character (tall and skinny).booleandoClick()booleandoClick(boolean leftClick) booleandoHover()Hovers this Player/NPCbooleanintintintintintgetLevel()Gets the tile position of the entity as provided by the clientnet.runelite.api.PointGets the minimap location, of the character.getModel()getName()intint[]getPathX()int[]getPathY()net.runelite.api.PointinthashCode()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisValid()booleanturnTo()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:PositionableGets the tile position of the entity as provided by the client- Specified by:
getLocationin 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:
turnToin 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:
isClickablein interfaceClickable07
-
getDirectionFacing
-