Class RSPlayer

  • All Implemented Interfaces:
    RSActor

    public class RSPlayer
    extends java.lang.Object
    implements RSActor
    • Constructor Detail

      • RSPlayer

        public RSPlayer​(@Nonnull
                        net.runelite.api.Player composition)
    • Method Detail

      • doAction

        public boolean doAction​(@Nonnull
                                java.lang.String option)
        Specified by:
        doAction in interface RSActor
      • doAction

        public boolean doAction​(@Nonnull
                                net.runelite.api.MenuAction type,
                                @Nonnull
                                java.lang.String option)
        Specified by:
        doAction in interface RSActor
      • interact

        public boolean interact​(@Nonnull
                                java.lang.String option)
        Specified by:
        interact in interface RSActor
      • interact

        public boolean interact​(@Nullable
                                @Nullable net.runelite.api.MenuAction type,
                                @Nonnull
                                java.lang.String option)
        Specified by:
        interact in interface RSActor
      • isInteractingWith

        public boolean isInteractingWith​(@Nonnull
                                         java.lang.String targetName)
        Specified by:
        isInteractingWith in interface RSActor
      • isMoving

        public boolean isMoving()
        Specified by:
        isMoving in interface RSActor
      • getOverheadIcon

        @Nullable
        public @Nullable net.runelite.api.HeadIcon getOverheadIcon()
      • getSkullIcon

        @Nullable
        public @Nullable SkullIcon getSkullIcon()
      • getName

        @Nullable
        public @Nullable java.lang.String getName()
        Specified by:
        getName in interface RSActor
      • getColorTextureOverrides

        @Nullable
        public @Nullable net.runelite.api.ColorTextureOverride[] getColorTextureOverrides()
      • getId

        public int getId()
      • isDead

        public boolean isDead()
        Specified by:
        isDead in interface RSActor
      • isInCombat

        public boolean isInCombat()
      • isFighting

        public boolean isFighting​(@Nonnull
                                  java.lang.String targetName)
      • 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)