Server-side management of CDN-backed files scoped to a player's profile.
Read, upload, update, and delete player files from the server. Ideal for cloud saves, screenshots, or profile pictures that benefit from CDN delivery. Each file upload requires a declared purpose; files can be marked private to restrict client visibility. Up to five revisions per file are retained.
See the LootLocker documentation.
◆ DeleteFileForPlayerByID()
Delete the specified file currently associated with the specified player The response will be empty unless there's an error.
- Parameters
-
| PlayerID | ID of the player for whom to delete the specified file |
| FileID | ID of the file to delete |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ GetFileForPlayerByID()
Get the specified file currently associated with the specified player.
- Parameters
-
| PlayerID | ID of the player for whom to get the specified file |
| FileID | ID of the file to get |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListFilesForPlayer()
List files currently associated with the specified player.
- Parameters
-
| PlayerID | ID of the player for whom to list files |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ UpdateFileForPlayer()
Update the specified file for the specified player with the supplied file content.
- Parameters
-
| PlayerID | ID of the player for whom to update the specified file |
| FileID | ID of the file to update |
| FilePath | The path on disk to the file you want to update the specified file with |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ UpdatePlayerFileWithRawData()
Update the specified file for the specified player with the supplied raw data.
- Parameters
-
| PlayerID | ID of the player for whom to update the specified file |
| FileID | ID of the file to update |
| RawData | The raw data to update the specified file with |
| FileName | The name to set for the file |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ UploadFileForPlayer()
Upload the specified file to the specified player Each file can be a maximum of 5MB and each player can have a maximum of 50 files.
- Parameters
-
| PlayerID | ID of the player for whom to upload the specified file |
| FilePath | The path on disk to the file you want to upload |
| Purpose | A tag specifying the purpose of this file |
| IsPublic | Whether this file is publically available (accessible for other players) |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ UploadRawDataToPlayerFile()
Upload the supplied raw data as a file to the specified player Each file can be a maximum of 5MB and each player can have a maximum of 50 files.
- Parameters
-
| PlayerID | ID of the player for whom to upload the specified file |
| RawData | The raw data to upload to a player file |
| FileName | The name to set for the file |
| Purpose | A tag specifying the purpose of this file |
| IsPublic | Whether this file is publically available (accessible for other players) |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
|
| static FString | ULootLockerServerForCpp::ListFilesForPlayer (int PlayerID, const FLootLockerServerPlayerFileListResponseDelegate &OnCompletedRequest) |
| | List files currently associated with the specified player.
|
| |
| static FString | ULootLockerServerForCpp::GetFileForPlayerByID (int PlayerID, int FileID, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest) |
| | Get the specified file currently associated with the specified player.
|
| |
| static FString | ULootLockerServerForCpp::DeleteFileForPlayerByID (int PlayerID, int FileID, const FLootLockerServerPlayerFileDeleteResponseDelegate &OnCompletedRequest) |
| | Delete the specified file currently associated with the specified player The response will be empty unless there's an error.
|
| |
| static FString | ULootLockerServerForCpp::UploadFileForPlayer (int PlayerID, FString FilePath, FString Purpose, bool IsPublic, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest) |
| | Upload the specified file to the specified player Each file can be a maximum of 5MB and each player can have a maximum of 50 files.
|
| |
| static FString | ULootLockerServerForCpp::UploadRawDataToPlayerFile (int PlayerID, TArray< uint8 > RawData, const FString &FileName, FString Purpose, bool IsPublic, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest) |
| | Upload the supplied raw data as a file to the specified player Each file can be a maximum of 5MB and each player can have a maximum of 50 files.
|
| |
| static FString | ULootLockerServerForCpp::UpdateFileForPlayer (int PlayerID, int FileID, FString FilePath, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest) |
| | Update the specified file for the specified player with the supplied file content.
|
| |
| static FString | ULootLockerServerForCpp::UpdatePlayerFileWithRawData (int PlayerID, int FileID, TArray< uint8 > RawData, const FString &FileName, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest) |
| | Update the specified file for the specified player with the supplied raw data.
|
| |