PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

GetFriendsAsync

Returns a FriendPages object which contains information for all of the given player’s friends. The items within the FriendPages object are tables with the following fields:

Name Type Description
Id int64 The user ID of the friend
Username string The current username of the friend
IsOnline boolean Whether or not the user is presently online.

See the code samples for an easy way to iterate over all a player’s friends.

Parameters

Name Type Default Description

The userId of the player being specified.

Returns

Return Type Summary

A FriendPages object which contains information for all of the given player’s friends.