Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineUserCloud
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineUserCloudInterface.h |
| Include | #include "Interfaces/OnlineUserCloudInterface.h" |
bool WriteUserFile
&40;
const FUniqueNetId & UserId,
const FString & FileName,
TArray< uint8 > & FileContents,
bool bCompressBeforeUpload
&41;
Remarks
Starts an asynchronous write of the specified user file to the network platform's file store true if the calls starts successfully, false otherwise
Parameters
| Name | Description |
|---|---|
| UserId | User owning the storage |
| FileToWrite | the name of the file to write |
| FileContents | the out buffer to copy the data into |
| CompressBeforeUpload | Whether the file will be compressed before upload. Defaulted to false. Use of this parameter isn't implemented in all platforms. |