Create, edit, and publish player-authored assets.
See the LootLocker documentation.
◆ FAssetCandidateResponseDelegate
◆ FAssetCandidatesResponseDelegate
◆ FCreateAssetCandidateResponseDelegate
◆ ELootLockerAssetFilePurpose
Purpose values for files attached to an asset candidate.
| Enumerator |
|---|
| PRIMARY_THUMBNAIL | |
| THUMBNAIL | |
| FILE | |
◆ AddFileToAssetCandidate()
Add a file to an asset candidate.
- Parameters
-
| AssetCandidateId | Asset candidate id |
| FilePath | Absolute path to the file |
| FilePurpose | Purpose of the file |
| OnCompletedRequest | Delegate for handling the server response |
| 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
◆ CreateAssetCandidate()
Create an asset candidate (UGC submission draft).
- Parameters
-
| AssetCandidateData | Asset candidate data |
| OnCompletedRequest | Delegate for handling the server response |
| 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
◆ CreateAssetCandidateAndMarkComplete()
Create an asset candidate and immediately mark it completed for review.
- Parameters
-
| AssetCandidateData | Asset candidate data |
| OnCompletedRequest | Delegate for handling the server response |
| 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
◆ DeleteAssetCandidate()
| static FString ULootLockerSDKManager::DeleteAssetCandidate |
( |
int |
AssetCandidateId, |
|
|
const FResponseCallback & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Delete an asset candidate (irreversible).
- Parameters
-
| AssetCandidateId | Asset candidate id |
| OnCompletedRequest | Delegate for handling the server response |
| 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
◆ DeleteFileFromAssetCandidate()
| static FString ULootLockerSDKManager::DeleteFileFromAssetCandidate |
( |
int |
AssetCandidateId, |
|
|
int |
FileId, |
|
|
const FResponseCallback & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Remove a file from an asset candidate.
- Parameters
-
| AssetCandidateId | Asset candidate id |
| FileId | File id |
| OnCompletedRequest | Delegate for handling the server response |
| 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
◆ GetAllAssetCandidates()
| static FString ULootLockerSDKManager::GetAllAssetCandidates |
( |
const FAssetCandidatesResponseDelegate & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
List all asset candidates created by the player.
- Parameters
-
| OnCompletedRequest | Delegate for handling the server response |
| 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
◆ GetAssetCandidate()
| static FString ULootLockerSDKManager::GetAssetCandidate |
( |
int |
AssetCandidateId, |
|
|
const FAssetCandidateResponseDelegate & |
OnCompletedRequest, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Get a single asset candidate by id.
- Parameters
-
| AssetCandidateId | Asset candidate id |
| OnCompletedRequest | Delegate for handling the server response |
| 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
◆ UpdateAssetCandidate()
Update an existing asset candidate.
- Parameters
-
| AssetCandidateId | Asset candidate id |
| AssetCandidateData | Updated asset candidate data |
| OnCompletedRequest | Delegate for handling the server response |
| 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
|
| 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.
|
| |