LootLocker Unreal SDK 10.4.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
Asset Instance Progressions

Detailed Description

Progression tracking scoped to a specific asset instance.

Function Documentation

◆ AddPointsToInstanceProgression()

static FString ULootLockerSDKManager::AddPointsToInstanceProgression ( const int32  AssetInstanceId,
const FString &  ProgressionKey,
const int32  Amount,
const FLootLockerInstanceProgressionWithRewardsResponseDelegate OnComplete = FLootLockerInstanceProgressionWithRewardsResponseDelegate(),
const FString &  ForPlayerWithUlid = "" 
)
static
Add points to an instance progression (may trigger rewards if thresholds are crossed).

@param AssetInstanceId Id of the asset instance
@param ProgressionKey Key of the progression to increment
@param Amount Number of points to add
@param OnComplete Delegate for handling the server response
@param 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

◆ DeleteInstanceProgression()

static FString ULootLockerSDKManager::DeleteInstanceProgression ( const int32  AssetInstanceId,
const FString &  ProgressionKey,
const FLootLockerDeleteProgressionDelegate OnComplete = FLootLockerDeleteProgressionDelegate(),
const FString &  ForPlayerWithUlid = "" 
)
static
Delete an instance progression (removes progress data for that progression).

@param AssetInstanceId Id of the asset instance
@param ProgressionKey Key of the progression to delete
@param OnComplete Delegate for handling the server response
@param 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

◆ GetInstanceProgression()

static FString ULootLockerSDKManager::GetInstanceProgression ( const int32  AssetInstanceId,
const FString &  ProgressionKey,
const FLootLockerInstanceProgressionResponseDelegate OnComplete = FLootLockerInstanceProgressionResponseDelegate(),
const FString &  ForPlayerWithUlid = "" 
)
static
Get a single progression state for an asset instance.

@param AssetInstanceId Id of the asset instance
@param ProgressionKey Key of the progression to fetch
@param OnComplete Delegate for handling the server response
@param 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

◆ GetInstanceProgressions() [1/3]

static FString ULootLockerSDKManager::GetInstanceProgressions ( const int32  AssetInstanceId,
const FLootLockerPaginatedInstanceProgressionsResponseDelegate OnComplete,
const FString &  ForPlayerWithUlid = "" 
)
static
List progressions for an asset instance (server default pagination settings).

@param AssetInstanceId Id of the asset instance
@param OnComplete Delegate for handling the server response
@param 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

◆ GetInstanceProgressions() [2/3]

static FString ULootLockerSDKManager::GetInstanceProgressions ( const int32  AssetInstanceId,
const int32 &  Count,
const FLootLockerPaginatedInstanceProgressionsResponseDelegate OnComplete,
const FString &  ForPlayerWithUlid = "" 
)
static
List progressions for an asset instance (first page only, limited by Count).

@param AssetInstanceId Id of the asset instance
@param Count Number of entries to receive
@param OnComplete Delegate for handling the server response
@param 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

◆ GetInstanceProgressions() [3/3]

static FString ULootLockerSDKManager::GetInstanceProgressions ( const int32  AssetInstanceId,
const int32  Count,
const FString &  After,
const FLootLockerPaginatedInstanceProgressionsResponseDelegate OnComplete = FLootLockerPaginatedInstanceProgressionsResponseDelegate(),
const FString &  ForPlayerWithUlid = "" 
)
static
List progressions the asset instance is on (paginated).

@param AssetInstanceId Id of the asset instance
@param Count Number of entries to receive
@param After Pagination cursor (instance progression id) to start after (use next_cursor / previous_cursor)
@param OnComplete Delegate for handling the server response
@param 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

◆ ResetInstanceProgression()

static FString ULootLockerSDKManager::ResetInstanceProgression ( const int32  AssetInstanceId,
const FString &  ProgressionKey,
const FLootLockerInstanceProgressionWithRewardsResponseDelegate OnComplete = FLootLockerInstanceProgressionWithRewardsResponseDelegate(),
const FString &  ForPlayerWithUlid = "" 
)
static
Reset an instance progression to its initial state.

@param AssetInstanceId Id of the asset instance
@param ProgressionKey Key of the progression to reset
@param OnComplete Delegate for handling the server response
@param 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

◆ SubtractPointsFromInstanceProgression()

static FString ULootLockerSDKManager::SubtractPointsFromInstanceProgression ( const int32  AssetInstanceId,
const FString &  ProgressionKey,
const int32  Amount,
const FLootLockerInstanceProgressionWithRewardsResponseDelegate OnComplete = FLootLockerInstanceProgressionWithRewardsResponseDelegate(),
const FString &  ForPlayerWithUlid = "" 
)
static
Subtract points from an instance progression.

@param AssetInstanceId Id of the asset instance
@param ProgressionKey Key of the progression to decrement
@param Amount Number of points to subtract
@param OnComplete Delegate for handling the server response
@param 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

Functions

static FString ULootLockerSDKManager::GetInstanceProgressions (const int32 AssetInstanceId, const int32 Count, const FString &After, const FLootLockerPaginatedInstanceProgressionsResponseDelegate &OnComplete=FLootLockerPaginatedInstanceProgressionsResponseDelegate(), const FString &ForPlayerWithUlid="")
 
static FString ULootLockerSDKManager::GetInstanceProgressions (const int32 AssetInstanceId, const int32 &Count, const FLootLockerPaginatedInstanceProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
 
static FString ULootLockerSDKManager::GetInstanceProgressions (const int32 AssetInstanceId, const FLootLockerPaginatedInstanceProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
 
static FString ULootLockerSDKManager::GetInstanceProgression (const int32 AssetInstanceId, const FString &ProgressionKey, const FLootLockerInstanceProgressionResponseDelegate &OnComplete=FLootLockerInstanceProgressionResponseDelegate(), const FString &ForPlayerWithUlid="")
 
static FString ULootLockerSDKManager::AddPointsToInstanceProgression (const int32 AssetInstanceId, const FString &ProgressionKey, const int32 Amount, const FLootLockerInstanceProgressionWithRewardsResponseDelegate &OnComplete=FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString &ForPlayerWithUlid="")
 
static FString ULootLockerSDKManager::SubtractPointsFromInstanceProgression (const int32 AssetInstanceId, const FString &ProgressionKey, const int32 Amount, const FLootLockerInstanceProgressionWithRewardsResponseDelegate &OnComplete=FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString &ForPlayerWithUlid="")
 
static FString ULootLockerSDKManager::ResetInstanceProgression (const int32 AssetInstanceId, const FString &ProgressionKey, const FLootLockerInstanceProgressionWithRewardsResponseDelegate &OnComplete=FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString &ForPlayerWithUlid="")
 
static FString ULootLockerSDKManager::DeleteInstanceProgression (const int32 AssetInstanceId, const FString &ProgressionKey, const FLootLockerDeleteProgressionDelegate &OnComplete=FLootLockerDeleteProgressionDelegate(), const FString &ForPlayerWithUlid="")