Class Friends
java.lang.Object
privbot.hooks.Friends
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Friends
public Friends(net.runelite.api.Client client) - Parameters:
client- the client
-
-
Method Details
-
isFriend
- Parameters:
name- a player name (colour and icon tags are ignored, case-insensitive)- Returns:
- whether the name is on the friends list; false also when the list cannot be read
-
getFriends
-
isOnline
- Parameters:
name- a friend's name- Returns:
- whether that friend is on a world; false when not a friend, offline, or unreadable
-
getWorld
- Parameters:
name- a friend's name- Returns:
- the friend's world, 0 when offline, -1 when not on the list or unreadable
-