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

Detailed Description

One-way player subscriptions — follow without requiring approval.

Unlike Friends, following does not require the other player to accept. Query a player's follower and following counts and enumerate their lists. Can be used alongside or entirely independently of the Friends system.

See the LootLocker documentation.

Typedef Documentation

◆ FLootLockerFollowActionResponseDelegate

typedef void(* FLootLockerFollowActionResponseDelegate) (FLootLockerFollowActionResponse)

C++ response delegate for follow/unfollow actions.

◆ FLootLockerListFollowersResponseDelegate

typedef void(* FLootLockerListFollowersResponseDelegate) (FLootLockerListFollowersResponse)

C++ response delegate for listing followers/following.

Function Documentation

◆ FollowPlayer()

static FString ULootLockerSDKManager::FollowPlayer ( const FString &  PlayerPublicId,
const FLootLockerFollowActionResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

Follow a player.

Parameters
PlayerPublicIdPlayer public UID to follow
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

◆ ListFollowers() [1/2]

static FString ULootLockerSDKManager::ListFollowers ( const FLootLockerListFollowersResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List followers 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

◆ ListFollowers() [2/2]

static FString ULootLockerSDKManager::ListFollowers ( const FString &  PlayerPublicId,
const FLootLockerListFollowersResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List followers for a player (by public UID).

Parameters
PlayerPublicIdPlayer public UID
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

◆ ListFollowersPaginated() [1/2]

static FString ULootLockerSDKManager::ListFollowersPaginated ( const FString &  Cursor,
int32  Count,
const FLootLockerListFollowersResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List followers for the requesting player (cursor paginated).

Parameters
CursorOptional: Pagination cursor (empty for first page)
CountOptional: Page size (<=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

◆ ListFollowersPaginated() [2/2]

static FString ULootLockerSDKManager::ListFollowersPaginated ( const FString &  PlayerPublicId,
const FString &  Cursor,
int32  Count,
const FLootLockerListFollowersResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List followers for a player (cursor paginated).

Parameters
PlayerPublicIdPlayer public UID
CursorOptional: Pagination cursor
CountOptional: Page size (<=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

◆ ListFollowing() [1/2]

static FString ULootLockerSDKManager::ListFollowing ( const FLootLockerListFollowersResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List accounts the requesting player is following.

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

◆ ListFollowing() [2/2]

static FString ULootLockerSDKManager::ListFollowing ( const FString &  PlayerPublicId,
const FLootLockerListFollowersResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List accounts a player is following (by public UID).

Parameters
PlayerPublicIdPlayer public UID
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

◆ ListFollowingPaginated() [1/2]

static FString ULootLockerSDKManager::ListFollowingPaginated ( const FString &  Cursor,
int32  Count,
const FLootLockerListFollowersResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List accounts the requesting player is following (cursor paginated).

Parameters
CursorOptional: Pagination cursor (empty for first page)
CountOptional: Page size (<=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

◆ ListFollowingPaginated() [2/2]

static FString ULootLockerSDKManager::ListFollowingPaginated ( const FString &  PlayerPublicId,
const FString &  Cursor,
int32  Count,
const FLootLockerListFollowersResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

List accounts a player is following (cursor paginated).

Parameters
PlayerPublicIdPlayer public UID
CursorOptional: Pagination cursor
CountOptional: Page size (<=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

◆ UnfollowPlayer()

static FString ULootLockerSDKManager::UnfollowPlayer ( const FString &  PlayerPublicId,
const FLootLockerFollowActionResponseDelegate OnResponseCompleted,
const FString &  ForPlayerWithUlid = "" 
)
static

Unfollow a player.

Parameters
PlayerPublicIdPlayer public UID to unfollow
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(* FLootLockerListFollowersResponseDelegate) (FLootLockerListFollowersResponse)
 C++ response delegate for listing followers/following.
 
typedef void(* FLootLockerFollowActionResponseDelegate) (FLootLockerFollowActionResponse)
 C++ response delegate for follow/unfollow actions.
 

Functions

static FString ULootLockerSDKManager::ListFollowers (const FString &PlayerPublicId, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
 List followers for a player (by public UID).
 
static FString ULootLockerSDKManager::ListFollowers (const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
 List followers for the requesting player.
 
static FString ULootLockerSDKManager::ListFollowersPaginated (const FString &Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
 List followers for the requesting player (cursor paginated).
 
static FString ULootLockerSDKManager::ListFollowersPaginated (const FString &PlayerPublicId, const FString &Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
 List followers for a player (cursor paginated).
 
static FString ULootLockerSDKManager::ListFollowing (const FString &PlayerPublicId, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
 List accounts a player is following (by public UID).
 
static FString ULootLockerSDKManager::ListFollowing (const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
 List accounts the requesting player is following.
 
static FString ULootLockerSDKManager::ListFollowingPaginated (const FString &Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
 List accounts the requesting player is following (cursor paginated).
 
static FString ULootLockerSDKManager::ListFollowingPaginated (const FString &PlayerPublicId, const FString &Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
 List accounts a player is following (cursor paginated).
 
static FString ULootLockerSDKManager::FollowPlayer (const FString &PlayerPublicId, const FLootLockerFollowActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
 Follow a player.
 
static FString ULootLockerSDKManager::UnfollowPlayer (const FString &PlayerPublicId, const FLootLockerFollowActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
 Unfollow a player.