LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
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.

Function Documentation

◆ FollowPlayer()

static void LootLocker.Requests.LootLockerSDKManager.FollowPlayer ( string  playerPublicUID,
Action< LootLockerFollowersOperationResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Follow the specified player.

Parameters
playerPublicUIDThe public uid of the player to follow
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListFollowers() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.ListFollowers ( Action< LootLockerListFollowersResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List followers of the currently logged in player with default pagination.

Parameters
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListFollowers() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.ListFollowers ( string  playerPublicUID,
Action< LootLockerListFollowersResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List followers that the specified player has with default pagination.

Parameters
playerPublicUIDThe public UID of the player whose followers to list
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListFollowersPaginated() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.ListFollowersPaginated ( string  Cursor,
int  Count,
Action< LootLockerListFollowersResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List followers of the currently logged in player.

Parameters
CursorUsed for pagination, if null or empty string it will return the first page. next_cursor will be included in the response if there are more pages.
CountThe number of results to return counting from the cursor
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListFollowersPaginated() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.ListFollowersPaginated ( string  playerPublicUID,
string  Cursor,
int  Count,
Action< LootLockerListFollowersResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List followers that the specified player has.

Parameters
playerPublicUIDThe public UID of the player whose followers to list
CursorUsed for pagination, if null or empty string it will return the first page. next_cursor will be included in the response if there are more pages.
CountThe number of results to return counting from the cursor
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListFollowing() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.ListFollowing ( Action< LootLockerListFollowingResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List what players the currently logged in player is following with default pagination.

Parameters
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListFollowing() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.ListFollowing ( string  playerPublicUID,
Action< LootLockerListFollowingResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List players that the specified player is following with default pagination.

Parameters
playerPublicUIDThe public UID of the player for which to list following players
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListFollowingPaginated() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.ListFollowingPaginated ( string  Cursor,
int  Count,
Action< LootLockerListFollowingResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List what players the currently logged in player is following.

Parameters
CursorUsed for pagination, if null or empty string it will return the first page. next_cursor will be included in the response if there are more pages.
CountThe number of results to return counting from the cursor
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListFollowingPaginated() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.ListFollowingPaginated ( string  playerPublicUID,
string  Cursor,
int  Count,
Action< LootLockerListFollowingResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List players that the specified player is following.

Parameters
playerPublicUIDThe public UID of the player for which to list following players
CursorUsed for pagination, if null or empty string it will return the first page. next_cursor will be included in the response if there are more pages.
CountThe number of results to return counting from the cursor
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ UnfollowPlayer()

static void LootLocker.Requests.LootLockerSDKManager.UnfollowPlayer ( string  playerPublicUID,
Action< LootLockerFollowersOperationResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Unfollow the specified player.

Parameters
playerPublicUIDThe public uid of the player to unfollow
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

Functions

static void LootLocker.Requests.LootLockerSDKManager.ListFollowers (Action< LootLockerListFollowersResponse > onComplete, string forPlayerWithUlid=null)
 List followers of the currently logged in player with default pagination.
 
static void LootLocker.Requests.LootLockerSDKManager.ListFollowersPaginated (string Cursor, int Count, Action< LootLockerListFollowersResponse > onComplete, string forPlayerWithUlid=null)
 List followers of the currently logged in player.
 
static void LootLocker.Requests.LootLockerSDKManager.ListFollowers (string playerPublicUID, Action< LootLockerListFollowersResponse > onComplete, string forPlayerWithUlid=null)
 List followers that the specified player has with default pagination.
 
static void LootLocker.Requests.LootLockerSDKManager.ListFollowersPaginated (string playerPublicUID, string Cursor, int Count, Action< LootLockerListFollowersResponse > onComplete, string forPlayerWithUlid=null)
 List followers that the specified player has.
 
static void LootLocker.Requests.LootLockerSDKManager.ListFollowing (Action< LootLockerListFollowingResponse > onComplete, string forPlayerWithUlid=null)
 List what players the currently logged in player is following with default pagination.
 
static void LootLocker.Requests.LootLockerSDKManager.ListFollowingPaginated (string Cursor, int Count, Action< LootLockerListFollowingResponse > onComplete, string forPlayerWithUlid=null)
 List what players the currently logged in player is following.
 
static void LootLocker.Requests.LootLockerSDKManager.ListFollowing (string playerPublicUID, Action< LootLockerListFollowingResponse > onComplete, string forPlayerWithUlid=null)
 List players that the specified player is following with default pagination.
 
static void LootLocker.Requests.LootLockerSDKManager.ListFollowingPaginated (string playerPublicUID, string Cursor, int Count, Action< LootLockerListFollowingResponse > onComplete, string forPlayerWithUlid=null)
 List players that the specified player is following.
 
static void LootLocker.Requests.LootLockerSDKManager.FollowPlayer (string playerPublicUID, Action< LootLockerFollowersOperationResponse > onComplete, string forPlayerWithUlid=null)
 Follow the specified player.
 
static void LootLocker.Requests.LootLockerSDKManager.UnfollowPlayer (string playerPublicUID, Action< LootLockerFollowersOperationResponse > onComplete, string forPlayerWithUlid=null)
 Unfollow the specified player.