Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore > API/Plugins/ConcertSyncCore/IConcertFileSharingService > API/Plugins/ConcertSyncCore/IConcertFileSharingService/Publish
References
| Module | ConcertSyncCore |
| Header | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/IConcertFileSharingService.h |
| Include | #include "IConcertFileSharingService.h" |
bool Publish
(
FArchive & SrcAr,
FString & OutFileId
)
Remarks
Copies all the bytes contained in the archives in a uniquely named file stored in the service directory for sharing. True if the file was published successfully.
Parameters
| Name | Description |
|---|---|
| SrcAr | The Archive containing the bytes to share. Expected to be at position 0. |
| 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). |