IOnlineUserCloud::WriteUserFile

Starts an asynchronous write of the specified user file to the network platform's file store

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineUserCloudInterface.h

Include

#include "Interfaces/OnlineUserCloudInterface.h"

Syntax

bool WriteUserFile
(
    const FUniqueNetId & UserId,
    const FString & FileName,
    TArray< uint8 > & FileContents,
    bool bCompressBeforeUpload
)

Remarks

Starts an asynchronous write of the specified user file to the network platform's file store

Returns

true if the calls starts successfully, false otherwise

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss