FConcertLocalFileSharingService::CreateReader

Open a shared file for consumption.

Windows
MacOS
Linux

Override Hierarchy

IConcertFileSharingService::CreateReader()

FConcertLocalFileSharingService::CreateReader()

References

Module

ConcertSyncCore

Header

/Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertLocalFileSharingService.h

Include

#include "ConcertLocalFileSharingService.h"

Source

/Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Private/ConcertLocalFileSharingService.cpp

Syntax

virtual TSharedPtr< FArchive > CreateReader
(
    const FString & InFileId
)

Remarks

Open a shared file for consumption.

The function can be used to poll until the resources is fully available. A more sophisticated API could be added to wait for a ressource if needed later.

Returns

An archive (loading mode) to stream the content of the file or nullptr if the file could not be found or opened.

Parameters

Parameter

Description

InFileId

The Id of the file to read. The consumer is expected to receives this ID through the Concert transport layer (request/response/event).

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