LootLocker Unreal SDK 10.4.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
Friends

Detailed Description

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.

Typedef Documentation

◆ FLootLockerFriendActionResponseDelegate

typedef void(* FLootLockerFriendActionResponseDelegate) (FLootLockerFriendActionResponse)

C++ response delegate for actions taken towards the friends list.

◆ FLootLockerGetFriendResponseDelegate

typedef void(* FLootLockerGetFriendResponseDelegate) (FLootLockerGetFriendResponse)

C++ response delegate for getting a friend.

◆ FLootLockerListBlockedPlayersResponseDelegate

typedef void(* FLootLockerListBlockedPlayersResponseDelegate) (FLootLockerListBlockedPlayersResponse)

C++ response delegate for listing blocked players.

◆ FLootLockerListFriendsResponseDelegate

typedef void(* FLootLockerListFriendsResponseDelegate) (FLootLockerListFriendsResponse)

◆ FLootLockerListIncomingFriendRequestsResponseDelegate

typedef void(* FLootLockerListIncomingFriendRequestsResponseDelegate) (FLootLockerListIncomingFriendRequestsResponse)

C++ response delegate for listing incoming friend requests.

◆ FLootLockerListOutgoingFriendRequestsResponseDelegate

typedef void(* FLootLockerListOutgoingFriendRequestsResponseDelegate) (FLootLockerListOutgoingFriendRequestsResponse)

C++ response delegate for listing outgoing friend requests.

Function Documentation

◆ AcceptIncomingFriendRequest()

static FString ULootLockerSDKManager::AcceptIncomingFriendRequest ( const FString &  PlayerULID,
const FLootLockerFriendActionResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

Accept an incoming friend request.

Parameters
PlayerULIDULID of the player whose request to accept
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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()

static FString ULootLockerSDKManager::BlockPlayer ( const FString &  PlayerULID,
const FLootLockerFriendActionResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

Block a player.

Parameters
PlayerULIDULID of the player to block
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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
PlayerULIDULID of the player whose request to cancel
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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
PlayerULIDULID of the player whose request to decline
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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()

static FString ULootLockerSDKManager::DeleteFriend ( const FString &  PlayerULID,
const FLootLockerFriendActionResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

Delete a friend.

Removes the friend relationship for both players.

Parameters
PlayerULIDFriend's ULID
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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
FriendUlidFriend ULID
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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()

static FString ULootLockerSDKManager::ListBlockedPlayers ( const FLootLockerListBlockedPlayersResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List blocked players.

Parameters
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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()

static FString ULootLockerSDKManager::ListBlockedPlayersPaginated ( int32  Page,
int32  PerPage,
const FLootLockerListBlockedPlayersResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List blocked players (page paginated).

Parameters
PageOptional: 1-based page index (<=0 uses 1)
PerPageOptional: Items per page (<=0 uses default)
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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()

static FString ULootLockerSDKManager::ListFriends ( const FLootLockerListFriendsResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List friends for the requesting player.

Parameters
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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
PlatformPlatform to filter by
PageOptional: The page to retrieve (<=0 uses 1)
PerPageOptional: Items per page (<=0 uses default)
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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
PageOptional: The page to retrieve (<=0 uses 1)
PerPageOptional: Items per page (<=0 uses default)
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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()

static FString ULootLockerSDKManager::ListIncomingFriendRequests ( const FLootLockerListIncomingFriendRequestsResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List incoming friend requests.

Parameters
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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()

static FString ULootLockerSDKManager::ListIncomingFriendRequestsPaginated ( int32  Page,
int32  PerPage,
const FLootLockerListIncomingFriendRequestsResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List incoming friend requests (page paginated).

Parameters
PageOptional: 1-based page index (<=0 uses 1)
PerPageOptional: Items per page (<=0 uses default)
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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()

static FString ULootLockerSDKManager::ListOutgoingFriendRequests ( const FLootLockerListOutgoingFriendRequestsResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List outgoing friend requests.

Parameters
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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()

static FString ULootLockerSDKManager::ListOutgoingFriendRequestsPaginated ( int32  Page,
int32  PerPage,
const FLootLockerListOutgoingFriendRequestsResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List outgoing friend requests (page paginated).

Parameters
PageOptional: 1-based page index (<=0 uses 1)
PerPageOptional: Items per page (<=0 uses default)
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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
PlayerULIDULID of the player to request
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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()

static FString ULootLockerSDKManager::UnblockPlayer ( const FString &  PlayerULID,
const FLootLockerFriendActionResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

Unblock a player.

Parameters
PlayerULIDULID of the player to unblock
OnResponseCompletedDelegate for handling the server response
ForPlayerWithUlidOptional: 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

Typedefs

typedef void(* FLootLockerListFriendsResponseDelegate) (FLootLockerListFriendsResponse)
 
typedef void(* FLootLockerListIncomingFriendRequestsResponseDelegate) (FLootLockerListIncomingFriendRequestsResponse)
 C++ response delegate for listing incoming friend requests.
 
typedef void(* FLootLockerListOutgoingFriendRequestsResponseDelegate) (FLootLockerListOutgoingFriendRequestsResponse)
 C++ response delegate for listing outgoing friend requests.
 
typedef void(* FLootLockerFriendActionResponseDelegate) (FLootLockerFriendActionResponse)
 C++ response delegate for actions taken towards the friends list.
 
typedef void(* FLootLockerListBlockedPlayersResponseDelegate) (FLootLockerListBlockedPlayersResponse)
 C++ response delegate for listing blocked players.
 
typedef void(* FLootLockerGetFriendResponseDelegate) (FLootLockerGetFriendResponse)
 C++ response delegate for getting a friend.
 

Functions

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.