IOnlineSharedCloud::WriteSharedFile

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

Choose your operating system:

Windows

macOS

Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineSharedCloudInterface.h"

Syntax

bool WriteSharedFile
(
    const FUniqueNetId & UserId,
    const FString & Filename,
    TArray< uint8 > & Contents
)

Remarks

Starts an asynchronous write of the specified shared 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

Filename

the name of the file to write

Contents

data to write to the file