LootLocker Unreal SDK 10.4.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
User-Generated Content (UGC)

Detailed Description

Create, edit, and publish player-authored assets.

See the LootLocker documentation.

Typedef Documentation

◆ FAssetCandidateResponseDelegate

typedef void(* FAssetCandidateResponseDelegate) (FLootLockerAssetCandidateResponse)

C++ response callback delegate; receives an FLootLockerAssetCandidateResponse result.

◆ FAssetCandidatesResponseDelegate

typedef void(* FAssetCandidatesResponseDelegate) (FLootLockerAssetCandidatesResponse)

C++ response callback delegate; receives an FLootLockerAssetCandidatesResponse result.

◆ FCreateAssetCandidateResponseDelegate

typedef void(* FCreateAssetCandidateResponseDelegate) (FLootLockerCreateAssetCandidateResponse)

C++ response callback delegate; receives an FLootLockerCreateAssetCandidateResponse result.

Enumeration Type Documentation

◆ ELootLockerAssetFilePurpose

enum class ELootLockerAssetFilePurpose : uint8
strong

Purpose values for files attached to an asset candidate.

Enumerator
PRIMARY_THUMBNAIL 
THUMBNAIL 
FILE 

Function Documentation

◆ AddFileToAssetCandidate()

static FString ULootLockerSDKManager::AddFileToAssetCandidate ( int  AssetCandidateId,
const FString &  FilePath,
ELootLockerAssetFilePurpose  FilePurpose,
const FAssetCandidateResponseDelegate OnCompletedRequest,
const FString &  ForPlayerWithUlid = "" 
)
static

Add a file to an asset candidate.

Parameters
AssetCandidateIdAsset candidate id
FilePathAbsolute path to the file
FilePurposePurpose of the file
OnCompletedRequestDelegate 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

◆ CreateAssetCandidate()

static FString ULootLockerSDKManager::CreateAssetCandidate ( const FLootLockerCreateAssetCandidateData AssetCandidateData,
const FCreateAssetCandidateResponseDelegate OnCompletedRequest,
const FString &  ForPlayerWithUlid = "" 
)
static

Create an asset candidate (UGC submission draft).

Parameters
AssetCandidateDataAsset candidate data
OnCompletedRequestDelegate 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

◆ CreateAssetCandidateAndMarkComplete()

static FString ULootLockerSDKManager::CreateAssetCandidateAndMarkComplete ( const FLootLockerCreateAssetCandidateData AssetCandidateData,
const FCreateAssetCandidateResponseDelegate OnCompletedRequest,
const FString &  ForPlayerWithUlid = "" 
)
static

Create an asset candidate and immediately mark it completed for review.

Parameters
AssetCandidateDataAsset candidate data
OnCompletedRequestDelegate 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

◆ DeleteAssetCandidate()

static FString ULootLockerSDKManager::DeleteAssetCandidate ( int  AssetCandidateId,
const FResponseCallback OnCompletedRequest,
const FString &  ForPlayerWithUlid = "" 
)
static

Delete an asset candidate (irreversible).

Parameters
AssetCandidateIdAsset candidate id
OnCompletedRequestDelegate 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

◆ DeleteFileFromAssetCandidate()

static FString ULootLockerSDKManager::DeleteFileFromAssetCandidate ( int  AssetCandidateId,
int  FileId,
const FResponseCallback OnCompletedRequest,
const FString &  ForPlayerWithUlid = "" 
)
static

Remove a file from an asset candidate.

Parameters
AssetCandidateIdAsset candidate id
FileIdFile id
OnCompletedRequestDelegate 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

◆ GetAllAssetCandidates()

static FString ULootLockerSDKManager::GetAllAssetCandidates ( const FAssetCandidatesResponseDelegate OnCompletedRequest,
const FString &  ForPlayerWithUlid = "" 
)
static

List all asset candidates created by the player.

Parameters
OnCompletedRequestDelegate 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

◆ GetAssetCandidate()

static FString ULootLockerSDKManager::GetAssetCandidate ( int  AssetCandidateId,
const FAssetCandidateResponseDelegate OnCompletedRequest,
const FString &  ForPlayerWithUlid = "" 
)
static

Get a single asset candidate by id.

Parameters
AssetCandidateIdAsset candidate id
OnCompletedRequestDelegate 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

◆ UpdateAssetCandidate()

static FString ULootLockerSDKManager::UpdateAssetCandidate ( int  AssetCandidateId,
const FLootLockerUpdateAssetCandidateData AssetCandidateData,
const FAssetCandidateResponseDelegate OnCompletedRequest,
const FString &  ForPlayerWithUlid = "" 
)
static

Update an existing asset candidate.

Parameters
AssetCandidateIdAsset candidate id
AssetCandidateDataUpdated asset candidate data
OnCompletedRequestDelegate 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(* FCreateAssetCandidateResponseDelegate) (FLootLockerCreateAssetCandidateResponse)
 C++ response callback delegate; receives an FLootLockerCreateAssetCandidateResponse result.
 
typedef void(* FAssetCandidateResponseDelegate) (FLootLockerAssetCandidateResponse)
 C++ response callback delegate; receives an FLootLockerAssetCandidateResponse result.
 
typedef void(* FAssetCandidatesResponseDelegate) (FLootLockerAssetCandidatesResponse)
 C++ response callback delegate; receives an FLootLockerAssetCandidatesResponse result.
 

Enumerations

enum class  ELootLockerAssetFilePurpose : uint8 { ELootLockerAssetFilePurpose::PRIMARY_THUMBNAIL = 0 , ELootLockerAssetFilePurpose::THUMBNAIL = 1 , ELootLockerAssetFilePurpose::FILE = 2 }
 Purpose values for files attached to an asset candidate. More...
 

Functions

static FString ULootLockerSDKManager::CreateAssetCandidate (const FLootLockerCreateAssetCandidateData &AssetCandidateData, const FCreateAssetCandidateResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
 Create an asset candidate (UGC submission draft).
 
static FString ULootLockerSDKManager::CreateAssetCandidateAndMarkComplete (const FLootLockerCreateAssetCandidateData &AssetCandidateData, const FCreateAssetCandidateResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
 Create an asset candidate and immediately mark it completed for review.
 
static FString ULootLockerSDKManager::UpdateAssetCandidate (int AssetCandidateId, const FLootLockerUpdateAssetCandidateData &AssetCandidateData, const FAssetCandidateResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
 Update an existing asset candidate.
 
static FString ULootLockerSDKManager::DeleteAssetCandidate (int AssetCandidateId, const FResponseCallback &OnCompletedRequest, const FString &ForPlayerWithUlid="")
 Delete an asset candidate (irreversible).
 
static FString ULootLockerSDKManager::GetAllAssetCandidates (const FAssetCandidatesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
 List all asset candidates created by the player.
 
static FString ULootLockerSDKManager::GetAssetCandidate (int AssetCandidateId, const FAssetCandidateResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
 Get a single asset candidate by id.
 
static FString ULootLockerSDKManager::AddFileToAssetCandidate (int AssetCandidateId, const FString &FilePath, ELootLockerAssetFilePurpose FilePurpose, const FAssetCandidateResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
 Add a file to an asset candidate.
 
static FString ULootLockerSDKManager::DeleteFileFromAssetCandidate (int AssetCandidateId, int FileId, const FResponseCallback &OnCompletedRequest, const FString &ForPlayerWithUlid="")
 Remove a file from an asset candidate.