IConcertFileSharingService::Publish

Copies up to Count bytes contained in the archives in a uniquely named file stored in the service directory for sharing.

Windows
MacOS
Linux

Override Hierarchy

IConcertFileSharingService::Publish()

FConcertLocalFileSharingService::Publish()

References

Module

ConcertSyncCore

Header

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

Include

#include "IConcertFileSharingService.h"

Syntax

bool Publish
(
    FArchive & SrcAr,
    int64 Count,
    FString & OutFileId
)

Remarks

Copies up to Count bytes contained in the archives in a uniquely named file stored in the service directory for sharing. The functions reads the archive from its current position up to Count bytes. The lifetime of the shared file is implementation specific.

Returns

True if the file was published successfully.

Parameters

Parameter

Description

SrcAr

The Archive containing the bytes to share. The archive is already at the right position, not necessarily 0.

Count

The number of bytes to read from the archive.

OutFileId

The ID of the published file. The publisher is expected to send the ID through the Concert transport layer to the consumer(s) (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