Cross-platform friend list — send, accept, and manage friend requests.
C++ response delegate for listing friends.
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.
◆ FLootLockerFriendActionResponseDelegate
C++ response delegate for actions taken towards the friends list.
◆ FLootLockerGetFriendResponseDelegate
C++ response delegate for getting a friend.
◆ FLootLockerListBlockedPlayersResponseDelegate
C++ response delegate for listing blocked players.
◆ FLootLockerListFriendsResponseDelegate
◆ FLootLockerListIncomingFriendRequestsResponseDelegate
C++ response delegate for listing incoming friend requests.
◆ FLootLockerListOutgoingFriendRequestsResponseDelegate
C++ response delegate for listing outgoing friend requests.
◆ AcceptIncomingFriendRequest()
| static FString ULootLockerSDKManager::AcceptIncomingFriendRequest |
( |
const FString & |
PlayerULID, |
|
|
const FLootLockerFriendActionResponseDelegate & |
OnResponseCompleted, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Accept an incoming friend request.
- Parameters
-
| PlayerULID | ULID of the player whose request to accept |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ BlockPlayer()
Block a player.
- Parameters
-
| PlayerULID | ULID of the player to block |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ CancelOutgoingFriendRequest()
| static FString ULootLockerSDKManager::CancelOutgoingFriendRequest |
( |
const FString & |
PlayerULID, |
|
|
const FLootLockerFriendActionResponseDelegate & |
OnResponseCompleted, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Cancel an outgoing friend request.
- Parameters
-
| PlayerULID | ULID of the player whose request to cancel |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ DeclineIncomingFriendRequest()
| static FString ULootLockerSDKManager::DeclineIncomingFriendRequest |
( |
const FString & |
PlayerULID, |
|
|
const FLootLockerFriendActionResponseDelegate & |
OnResponseCompleted, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Decline an incoming friend request.
- Parameters
-
| PlayerULID | ULID of the player whose request to decline |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ DeleteFriend()
Delete a friend.
Removes the friend relationship for both players.
- Parameters
-
| PlayerULID | Friend's ULID |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetFriend()
| static FString ULootLockerSDKManager::GetFriend |
( |
const FString & |
FriendUlid, |
|
|
const FLootLockerGetFriendResponseDelegate & |
OnResponseCompleted, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Get a friend by ULID.
- Parameters
-
| FriendUlid | Friend ULID |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListBlockedPlayers()
List blocked players.
- Parameters
-
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListBlockedPlayersPaginated()
List blocked players (page paginated).
- Parameters
-
| Page | Optional: 1-based page index (<=0 uses 1) |
| PerPage | Optional: Items per page (<=0 uses default) |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListFriends()
List friends for the requesting player.
- Parameters
-
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListFriendsByPlatform()
| static FString ULootLockerSDKManager::ListFriendsByPlatform |
( |
const ELootLockerPlatform |
Platform, |
|
|
int32 |
Page, |
|
|
int32 |
PerPage, |
|
|
const FLootLockerListFriendsResponseDelegate & |
OnResponseCompleted, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
List friends by platform for the requesting player.
- Parameters
-
| Platform | Platform to filter by |
| Page | Optional: The page to retrieve (<=0 uses 1) |
| PerPage | Optional: Items per page (<=0 uses default) |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListFriendsPaginated()
| static FString ULootLockerSDKManager::ListFriendsPaginated |
( |
int32 |
Page, |
|
|
int32 |
PerPage, |
|
|
const FLootLockerListFriendsResponseDelegate & |
OnResponseCompleted, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
List friends (page paginated).
- Parameters
-
| Page | Optional: The page to retrieve (<=0 uses 1) |
| PerPage | Optional: Items per page (<=0 uses default) |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListIncomingFriendRequests()
List incoming friend requests.
- Parameters
-
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListIncomingFriendRequestsPaginated()
List incoming friend requests (page paginated).
- Parameters
-
| Page | Optional: 1-based page index (<=0 uses 1) |
| PerPage | Optional: Items per page (<=0 uses default) |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListOutgoingFriendRequests()
List outgoing friend requests.
- Parameters
-
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListOutgoingFriendRequestsPaginated()
List outgoing friend requests (page paginated).
- Parameters
-
| Page | Optional: 1-based page index (<=0 uses 1) |
| PerPage | Optional: Items per page (<=0 uses default) |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ SendFriendRequest()
| static FString ULootLockerSDKManager::SendFriendRequest |
( |
const FString & |
PlayerULID, |
|
|
const FLootLockerFriendActionResponseDelegate & |
OnResponseCompleted, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Send a friend request.
- Parameters
-
| PlayerULID | ULID of the player to request |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ UnblockPlayer()
Unblock a player.
- Parameters
-
| PlayerULID | ULID of the player to unblock |
| OnResponseCompleted | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
|
| static FString | ULootLockerSDKManager::ListFriends (const FLootLockerListFriendsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | List friends for the requesting player.
|
| |
| static FString | ULootLockerSDKManager::ListFriendsPaginated (int32 Page, int32 PerPage, const FLootLockerListFriendsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | List friends (page paginated).
|
| |
| static FString | ULootLockerSDKManager::ListFriendsByPlatform (const ELootLockerPlatform Platform, int32 Page, int32 PerPage, const FLootLockerListFriendsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | List friends by platform for the requesting player.
|
| |
| static FString | ULootLockerSDKManager::ListIncomingFriendRequests (const FLootLockerListIncomingFriendRequestsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | List incoming friend requests.
|
| |
| static FString | ULootLockerSDKManager::ListIncomingFriendRequestsPaginated (int32 Page, int32 PerPage, const FLootLockerListIncomingFriendRequestsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | List incoming friend requests (page paginated).
|
| |
| static FString | ULootLockerSDKManager::ListOutgoingFriendRequests (const FLootLockerListOutgoingFriendRequestsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | List outgoing friend requests.
|
| |
| static FString | ULootLockerSDKManager::ListOutgoingFriendRequestsPaginated (int32 Page, int32 PerPage, const FLootLockerListOutgoingFriendRequestsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | List outgoing friend requests (page paginated).
|
| |
| static FString | ULootLockerSDKManager::SendFriendRequest (const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | Send a friend request.
|
| |
| static FString | ULootLockerSDKManager::DeleteFriend (const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | Delete a friend.
|
| |
| static FString | ULootLockerSDKManager::CancelOutgoingFriendRequest (const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | Cancel an outgoing friend request.
|
| |
| static FString | ULootLockerSDKManager::AcceptIncomingFriendRequest (const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | Accept an incoming friend request.
|
| |
| static FString | ULootLockerSDKManager::DeclineIncomingFriendRequest (const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | Decline an incoming friend request.
|
| |
| static FString | ULootLockerSDKManager::ListBlockedPlayers (const FLootLockerListBlockedPlayersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | List blocked players.
|
| |
| static FString | ULootLockerSDKManager::ListBlockedPlayersPaginated (int32 Page, int32 PerPage, const FLootLockerListBlockedPlayersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | List blocked players (page paginated).
|
| |
| static FString | ULootLockerSDKManager::GetFriend (const FString &FriendUlid, const FLootLockerGetFriendResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | Get a friend by ULID.
|
| |
| static FString | ULootLockerSDKManager::BlockPlayer (const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | Block a player.
|
| |
| static FString | ULootLockerSDKManager::UnblockPlayer (const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="") |
| | Unblock a player.
|
| |