Navigation
Unreal Engine C++ API Reference > Plugins > ConcertSyncCore
Inheritance Hierarchy
- IConcertFileSharingService
- FConcertLocalFileSharingService
References
Module | ConcertSyncCore |
Header | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertLocalFileSharingService.h |
Include | #include "ConcertLocalFileSharingService.h" |
Syntax
class FConcertLocalFileSharingService : public IConcertFileSharingService
Remarks
Share files using a local directory. It works only for one client and one server running on the same machine. The publisher of a file stores a file for sharing and gets a unique ID to consume the file back. It is the publisher responsibility to share the ID with the consumer (i.e. through a concert msg). The shared files are automatically deleted once consumed or when the file expires.
This is mainly designed for the recovery system.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FConcertLocalFileSharingService
(
const FString& Role |
Construct the local file sharing service. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Overridden from IConcertFileSharingService
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TSharedPtr< FArchive > | CreateReader
(
const FString& InFileId |
Consumes a file corresponding to the unique file ID, if available. |
![]() ![]() |
bool | Copies the specified file in the service storage and return a unique ID required to consume it back. | |
![]() ![]() |
bool | Copies the content of the archive in the service storage and return a unique ID required to consume it back. |