Navigation
Unreal Engine C++ API Reference > Plugins > ConcertSyncCore > IConcertFileSharingService > Publish
- IConcertFileSharingService::Publish()
- FConcertLocalFileSharingService::Publish()
References
Module | ConcertSyncCore |
Header | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/IConcertFileSharingService.h |
Include | #include "IConcertFileSharingService.h" |
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. True if the file was published successfully.
Parameters
Name | 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). |