![]() |
LootLocker Unreal SDK 10.6.0
Game backend SDK for Unreal Engine
|
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.
| typedef void(* FLootLockerFileContentDelegate) (FLootLockerPlayerFileContentResponse) |
C++ response callback delegate; receives an FLootLockerPlayerFileContentResponse result.
| typedef void(* FLootLockerFileDeletedDelegate) (FLootLockerResponse) |
C++ response callback delegate; receives an FLootLockerResponse result.
| typedef void(* FLootLockerFileListDelegate) (FLootLockerFileListResponse) |
C++ response callback delegate; receives an FLootLockerFileListResponse result.
| typedef void(* FLootLockerFileRevisionsDelegate) (FLootLockerPlayerFileRevisionsResponse) |
C++ response callback delegate; receives an FLootLockerPlayerFileRevisionsResponse result.
| typedef void(* FLootLockerUploadFileDelegate) (FLootLockerPlayerFileResponse) |
C++ response callback delegate; receives an FLootLockerPlayerFileResponse result.
|
static |
Permanently delete a player-owned file (irreversible).
| 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) |
|
static |
Delete a player file by its key.
| Key | The key of the file to delete |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Get a player file by its key (upsert key).
| Key | The key of the file |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Get a specific revision of a player file by its revision ULID.
| FileID | File id (retrieved from upload response or ListFiles) |
| RevisionID | The ULID of the revision to retrieve |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Get a specific revision of a player file by its key and revision ULID.
| Key | The key of the file |
| RevisionID | The ULID of the revision to retrieve |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Retrieve metadata (including access URL) for a single file.
| 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) |
|
static |
List all revisions for a player file.
| 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) |
|
static |
List all revisions for a player file identified by its key.
| Key | The key of the file |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
List all files owned by the player.
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
List all public files owned by another player (by legacy PlayerID).
| 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) |
|
static |
Promote a specific revision to be the current (active) revision of a player file.
| FileID | File id (retrieved from upload response or ListFiles) |
| RevisionID | The ULID of the revision to promote |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Promote a specific revision to be the current (active) revision of a player file identified by its key.
| Key | The key of the file |
| RevisionID | The ULID of the revision to promote |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
|
static |
Update an existing player-owned file with new content or metadata.
| 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) |
|
static |
Upload a file owned by the player (initial creation).
Use UpdateFile to modify existing files.
| Request | File upload request payload |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
Typedefs | |
| typedef void(* | FLootLockerUploadFileDelegate) (FLootLockerPlayerFileResponse) |
| C++ response callback delegate; receives an FLootLockerPlayerFileResponse result. | |
| typedef void(* | FLootLockerFileListDelegate) (FLootLockerFileListResponse) |
| C++ response callback delegate; receives an FLootLockerFileListResponse result. | |
| typedef void(* | FLootLockerFileDeletedDelegate) (FLootLockerResponse) |
| C++ response callback delegate; receives an FLootLockerResponse result. | |
| typedef void(* | FLootLockerFileRevisionsDelegate) (FLootLockerPlayerFileRevisionsResponse) |
| C++ response callback delegate; receives an FLootLockerPlayerFileRevisionsResponse result. | |
| typedef void(* | FLootLockerFileContentDelegate) (FLootLockerPlayerFileContentResponse) |
| C++ response callback delegate; receives an FLootLockerPlayerFileContentResponse result. | |
Functions | |
| 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). | |
| static FString | ULootLockerSDKManager::ListFileRevisions (const int32 FileID, const FLootLockerFileRevisionsDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| List all revisions for a player file. | |
| static FString | ULootLockerSDKManager::GetFileRevision (const int32 FileID, const FString &RevisionID, const FLootLockerFileContentDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Get a specific revision of a player file by its revision ULID. | |
| static FString | ULootLockerSDKManager::PromoteFileRevision (const int32 FileID, const FString &RevisionID, const FLootLockerDefaultDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Promote a specific revision to be the current (active) revision of a player file. | |
| static FString | ULootLockerSDKManager::GetFileByKey (const FString &Key, const FLootLockerUploadFileDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Get a player file by its key (upsert key). | |
| static FString | ULootLockerSDKManager::ListFileRevisionsByKey (const FString &Key, const FLootLockerFileRevisionsDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| List all revisions for a player file identified by its key. | |
| static FString | ULootLockerSDKManager::GetFileRevisionByKey (const FString &Key, const FString &RevisionID, const FLootLockerFileContentDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Get a specific revision of a player file by its key and revision ULID. | |
| static FString | ULootLockerSDKManager::PromoteFileRevisionByKey (const FString &Key, const FString &RevisionID, const FLootLockerDefaultDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Promote a specific revision to be the current (active) revision of a player file identified by its key. | |
| static FString | ULootLockerSDKManager::DeletePlayerFileByKey (const FString &Key, const FLootLockerFileDeletedDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| Delete a player file by its key. | |