![]() |
LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
|
Cross-platform friend list — send, accept, and manage friend requests.
Players can add each other using any supported identifier (player ID, ULID, public UID, display name, or first-party IDs such as Steam/PSN) regardless of platform. Friend requests require mutual acceptance. Players can also block others. The Friends and Followers systems are independent and can be used separately.
See the LootLocker documentation.
|
inlinestatic |
Accept the incoming friend request from the specified player.
| playerID | The id of the player that sent the friend request you wish to accept |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
Block the specified player (adding them to the currently logged in players block list and removing them the friend list)
| playerID | The id of the player to block |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
Cancel the outgoing friend request made to the specified player by the currently logged in player.
| playerID | The id of the player to cancel the friend request for |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
Decline the incoming friend request from the specified player.
| playerID | The id of the player that sent the friend request you wish to decline |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
Remove the specified player from the currently logged in player's friends list.
| playerID | The id of the player to delete from the friends list |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
Get a specific friend of the currently logged in player.
| friendPlayerULID | The ULID of the player for whom to get friend information |
| onComplete | Action for handling the response |
| forPlayerWithUlid | Optional: Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
List the players (if any) that are blocked by the currently logged in player with default pagination.
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
List the players (if any) that are blocked by the currently logged in player.
| PerPage | The number of results to return per page |
| Page | The page number to retrieve |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
List friends for the currently logged in player with default pagination.
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
List friends that are on the specified platform for the currently logged in player.
| Platform | The platform to filter friends by (e.g., "Steam", "Xbox", "PlayStation") |
| PerPage | The number of results to return per page |
| Page | The page number to return |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
List friends for the currently logged in player.
| PerPage | The number of results to return per page |
| Page | The page number to return |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
List incoming friend requests for the currently logged in player (friend requests made by others for this player) with default pagination.
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
List incoming friend requests for the currently logged in player with pagination (friend requests made by others for this player)
| PerPage | The number of results to return per page |
| Page | The page number to retrieve |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
List outgoing friend requests for the currently logged in player (friend requests made by this player)
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
List outgoing friend requests for the currently logged in player with pagination (friend requests made by this player)
| PerPage | The number of results to return per page |
| Page | The page number to retrieve |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
Send a friend request to the specified player for the currently logged in player.
| playerID | The id of the player to send the friend request to |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
inlinestatic |
Unblock the specified player (remove from the currently logged in players block list)
| playerID | The id of the player to unblock |
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
Functions | |
| static void | LootLocker.Requests.LootLockerSDKManager.ListFriends (Action< LootLockerListFriendsResponse > onComplete, string forPlayerWithUlid=null) |
| List friends for the currently logged in player with default pagination. | |
| static void | LootLocker.Requests.LootLockerSDKManager.ListFriendsPaginated (int PerPage, int Page, Action< LootLockerListFriendsResponse > onComplete, string forPlayerWithUlid=null) |
| List friends for the currently logged in player. | |
| static void | LootLocker.Requests.LootLockerSDKManager.ListFriendsByPlatform (LL_AuthPlatforms Platform, int PerPage, int Page, Action< LootLockerListFriendsResponse > onComplete, string forPlayerWithUlid=null) |
| List friends that are on the specified platform for the currently logged in player. | |
| static void | LootLocker.Requests.LootLockerSDKManager.GetFriend (string friendPlayerULID, Action< LootLockerGetFriendResponse > onComplete, string forPlayerWithUlid=null) |
| Get a specific friend of the currently logged in player. | |
| static void | LootLocker.Requests.LootLockerSDKManager.ListIncomingFriendRequests (Action< LootLockerListIncomingFriendRequestsResponse > onComplete, string forPlayerWithUlid=null) |
| List incoming friend requests for the currently logged in player (friend requests made by others for this player) with default pagination. | |
| static void | LootLocker.Requests.LootLockerSDKManager.ListIncomingFriendRequestsPaginated (int PerPage, int Page, Action< LootLockerListIncomingFriendRequestsResponse > onComplete, string forPlayerWithUlid=null) |
| List incoming friend requests for the currently logged in player with pagination (friend requests made by others for this player) | |
| static void | LootLocker.Requests.LootLockerSDKManager.ListOutgoingFriendRequests (Action< LootLockerListOutgoingFriendRequestsResponse > onComplete, string forPlayerWithUlid=null) |
| List outgoing friend requests for the currently logged in player (friend requests made by this player) | |
| static void | LootLocker.Requests.LootLockerSDKManager.ListOutGoingFriendRequestsPaginated (int PerPage, int Page, Action< LootLockerListOutgoingFriendRequestsResponse > onComplete, string forPlayerWithUlid=null) |
| List outgoing friend requests for the currently logged in player with pagination (friend requests made by this player) | |
| static void | LootLocker.Requests.LootLockerSDKManager.SendFriendRequest (string playerID, Action< LootLockerFriendsOperationResponse > onComplete, string forPlayerWithUlid=null) |
| Send a friend request to the specified player for the currently logged in player. | |
| static void | LootLocker.Requests.LootLockerSDKManager.CancelFriendRequest (string playerID, Action< LootLockerFriendsOperationResponse > onComplete, string forPlayerWithUlid=null) |
| Cancel the outgoing friend request made to the specified player by the currently logged in player. | |
| static void | LootLocker.Requests.LootLockerSDKManager.AcceptFriendRequest (string playerID, Action< LootLockerFriendsOperationResponse > onComplete, string forPlayerWithUlid=null) |
| Accept the incoming friend request from the specified player. | |
| static void | LootLocker.Requests.LootLockerSDKManager.DeclineFriendRequest (string playerID, Action< LootLockerFriendsOperationResponse > onComplete, string forPlayerWithUlid=null) |
| Decline the incoming friend request from the specified player. | |
| static void | LootLocker.Requests.LootLockerSDKManager.ListBlockedPlayers (Action< LootLockerListBlockedPlayersResponse > onComplete, string forPlayerWithUlid=null) |
| List the players (if any) that are blocked by the currently logged in player with default pagination. | |
| static void | LootLocker.Requests.LootLockerSDKManager.ListBlockedPlayersPaginated (int PerPage, int Page, Action< LootLockerListBlockedPlayersResponse > onComplete, string forPlayerWithUlid=null) |
| List the players (if any) that are blocked by the currently logged in player. | |
| static void | LootLocker.Requests.LootLockerSDKManager.BlockPlayer (string playerID, Action< LootLockerFriendsOperationResponse > onComplete, string forPlayerWithUlid=null) |
| Block the specified player (adding them to the currently logged in players block list and removing them the friend list) | |
| static void | LootLocker.Requests.LootLockerSDKManager.UnblockPlayer (string playerID, Action< LootLockerFriendsOperationResponse > onComplete, string forPlayerWithUlid=null) |
| Unblock the specified player (remove from the currently logged in players block list) | |
| static void | LootLocker.Requests.LootLockerSDKManager.DeleteFriend (string playerID, Action< LootLockerFriendsOperationResponse > onComplete, string forPlayerWithUlid=null) |
| Remove the specified player from the currently logged in player's friends list. | |