FriendsAPI
Functions
GetLocalPlayerName
FriendsAPI.GetLocalPlayerName(): string
Gets the name of the local player
GetNameForXUID
FriendsAPI.GetNameForXUID(xuid: string): string
Gets the name of the player with the given XUID.
This will only be known by the local user if the given user is in their friends list, on the same game server, in a chat room or lobby, or in a small group with the local user.
Parameter
Name | Type | Description |
xuid | string | No description provided. |