Class RSPlayer
- java.lang.Object
-
- com.osrsbots.orb.api.interactables.types.RSPlayer
-
-
Constructor Summary
Constructors Constructor Description RSPlayer(net.runelite.api.Player composition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoAction(java.lang.String option)booleandoAction(net.runelite.api.MenuAction type, java.lang.String option)int[]getColors()@Nullable net.runelite.api.ColorTextureOverride[]getColorTextureOverrides()intgetCombatLevel()intgetEquipmentId(net.runelite.api.kit.KitType kt)int[]getEquipmentIds()intgetGender()intgetId()intgetKitId(net.runelite.api.kit.KitType kt)@Nullable java.lang.StringgetName()@Nullable net.runelite.api.HeadIcongetOverheadIcon()@Nullable SkullIcongetSkullIcon()intgetTeam()booleaninteract(@Nullable net.runelite.api.MenuAction type, java.lang.String option)booleaninteract(java.lang.String option)booleanisClanMember()booleanisDead()booleanisFighting(java.lang.String targetName)booleanisFriend()booleanisFriendsChatMember()booleanisInCombat()booleanisInteractingWith(java.lang.String targetName)booleanisMoving()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.osrsbots.orb.api.interactables.types.RSActor
distanceToPlayer, getAnimation, getAnimationFrame, getClickbox, getCurrentOrientation, getHealthRatio, getHealthScale, getIdlePoseAnimation, getIdleRotateLeft, getIdleRotateRight, getInteracting, getLocalLocation, getMinimapLocation, getModel, getOrientation, getOverheadCycle, getOverheadText, getPoseAnimation, getPoseAnimationFrame, getRunAnimation, getSpotAnims, getWalkAnimation, getWalkRotate180, getWalkRotateLeft, getWalkRotateRight, getWorldArea, getWorldLocation, getWorldView, hasSpotAnim, highlight, hover, isInteractable, isInteracting, isReachable, useWith
-
-
-
-
Method Detail
-
doAction
public boolean doAction(@Nonnull java.lang.String option)
-
doAction
public boolean doAction(@Nonnull net.runelite.api.MenuAction type, @Nonnull java.lang.String option)
-
interact
public boolean interact(@Nonnull java.lang.String option)
-
interact
public boolean interact(@Nullable @Nullable net.runelite.api.MenuAction type, @Nonnull java.lang.String option)
-
isInteractingWith
public boolean isInteractingWith(@Nonnull java.lang.String targetName)- Specified by:
isInteractingWithin interfaceRSActor
-
getOverheadIcon
@Nullable public @Nullable net.runelite.api.HeadIcon getOverheadIcon()
-
getSkullIcon
@Nullable public @Nullable SkullIcon getSkullIcon()
-
getName
@Nullable public @Nullable java.lang.String getName()
-
getColorTextureOverrides
@Nullable public @Nullable net.runelite.api.ColorTextureOverride[] getColorTextureOverrides()
-
getId
public int getId()
-
isInCombat
public boolean isInCombat()
-
isFighting
public boolean isFighting(@Nonnull java.lang.String targetName)
-
getCombatLevel
public int getCombatLevel()
- Specified by:
getCombatLevelin interfaceRSActor
-
getTeam
public int getTeam()
-
isFriendsChatMember
public boolean isFriendsChatMember()
-
isFriend
public boolean isFriend()
-
isClanMember
public boolean isClanMember()
-
getGender
public int getGender()
-
getColors
public int[] getColors()
-
getEquipmentIds
public int[] getEquipmentIds()
-
getEquipmentId
public int getEquipmentId(net.runelite.api.kit.KitType kt)
-
getKitId
public int getKitId(net.runelite.api.kit.KitType kt)
-
-