DeadZone Community Packages
    Preparing search index...

    Interface Player

    interface Player {
        getId(): number;
        getCombatLevel(): number;
        getTeam(): number;
        getPlayerComposition(): PlayerComposition;
        isFriendsChatMember(): boolean;
        isFriend(): boolean;
        isClanMember(): boolean;
        getOverheadIcon(): HeadIcon;
        getSkullIcon(): number;
        getWorldView(): WorldView;
        getName(): string;
        isInteracting(): boolean;
        getInteracting(): Actor;
        getHealthRatio(): number;
        getHealthScale(): number;
        getWorldLocation(): WorldPoint;
        getLocalLocation(): LocalPoint;
        getWorldArea(): WorldArea;
        getAnimation(): number;
        isDead(): boolean;
        getOverheadText(): string;
        getSpotAnims(): ActorSpotAnim[];
        hasSpotAnim(): boolean;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Returns number

    • Gets the current team cape team number the player is on.

      Returns number

      team number, or 0 if not on any team

    • Checks whether this player is a member of the same friends chat the local player.

      Returns boolean

      true if the player is a friends chat member, false otherwise

    • Checks whether this player is a friend of the local player.

      Returns boolean

      true if the player is a friend, false otherwise

    • Checks whether the player is a member of the same clan as the local player.

      Returns boolean

    • Gets the displayed overhead icon of the player.

      Returns HeadIcon

      the overhead icon

    • Gets the displayed skull icon of the player.

      Returns number

      the id skull icon, or -1 if unskulled.

      SkullIcon

    • Returns boolean