CDN-backed file storage scoped to a player's profile.
Best suited for large files such as screenshots, cloud saves, or profile pictures that benefit from CDN delivery. For small key-value data prefer Metadata. Each file upload requires a declared purpose; files can be marked private to restrict visibility. Up to five revisions per file are retained, with revert capability in the Web Console.
See the LootLocker documentation.
◆ FLootLockerFileDeletedDelegate
◆ FLootLockerFileListDelegate
◆ FLootLockerUploadFileDelegate
◆ DeletePlayerFile()
| static FString ULootLockerSDKManager::DeletePlayerFile |
( |
const int32 |
FileID, |
|
|
const FLootLockerFileDeletedDelegate & |
OnComplete, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Permanently delete a player-owned file (irreversible).
- Parameters
-
| FileID | File id to delete (from upload response or ListFiles) |
| OnComplete | 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
◆ GetSingleFile()
| static FString ULootLockerSDKManager::GetSingleFile |
( |
const int32 |
FileID, |
|
|
const FLootLockerUploadFileDelegate & |
OnComplete, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
Retrieve metadata (including access URL) for a single file.
- Parameters
-
| FileID | File id (retrieved from upload response or ListFiles) |
| OnComplete | 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
◆ ListFiles()
| static FString ULootLockerSDKManager::ListFiles |
( |
const FLootLockerFileListDelegate & |
OnComplete, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
List all files owned by the player.
- Parameters
-
| OnComplete | 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
◆ ListOtherPlayersPublicFiles()
| static FString ULootLockerSDKManager::ListOtherPlayersPublicFiles |
( |
const int32 |
PlayerID, |
|
|
const FLootLockerFileListDelegate & |
OnComplete, |
|
|
const FString & |
ForPlayerWithUlid = "" |
|
) |
| |
|
static |
List all public files owned by another player (by legacy PlayerID).
- Parameters
-
| PlayerID | Legacy player id of the target player |
| OnComplete | 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
◆ UpdateFile()
Update an existing player-owned file with new content or metadata.
- Parameters
-
| FileId | File id (retrieved from upload response or ListFiles) |
| Request | File update request payload |
| OnComplete | 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
◆ UploadFile()
Upload a file owned by the player (initial creation).
Use UpdateFile to modify existing files.
- Parameters
-
| Request | File upload request payload |
| OnComplete | 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::UploadFile (const FLootLockerFileUploadRequest &Request, const FLootLockerUploadFileDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | Upload a file owned by the player (initial creation).
|
| |
| static FString | ULootLockerSDKManager::UpdateFile (const int32 FileId, const FLootLockerFileUpdateRequest &Request, const FLootLockerUploadFileDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | Update an existing player-owned file with new content or metadata.
|
| |
| static FString | ULootLockerSDKManager::ListFiles (const FLootLockerFileListDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | List all files owned by the player.
|
| |
| static FString | ULootLockerSDKManager::ListOtherPlayersPublicFiles (const int32 PlayerID, const FLootLockerFileListDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | List all public files owned by another player (by legacy PlayerID).
|
| |
| static FString | ULootLockerSDKManager::GetSingleFile (const int32 FileID, const FLootLockerUploadFileDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | Retrieve metadata (including access URL) for a single file.
|
| |
| static FString | ULootLockerSDKManager::DeletePlayerFile (const int32 FileID, const FLootLockerFileDeletedDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | Permanently delete a player-owned file (irreversible).
|
| |