Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore
Share files using a path that is connected to a cloud based shared file service, e.g. a shared drive. It will work across all clients and server assuming that the drive is visible. Validation checks are run during session connection to establish that both the server and client can see the same system.
| Name | FConcertCloudFileSharingService |
| Type | class |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertCloudFileSharingService.h |
| Include Path | #include "ConcertCloudFileSharingService.h" |
Syntax
class FConcertCloudFileSharingService : public IConcertFileSharingService
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConcertCloudFileSharingService
(
const FString& Role |
Construct the cloud file sharing service. | ConcertCloudFileSharingService.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FConcertCloudFileSharingService() |
Destructor | ConcertCloudFileSharingService.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnabled | bool | ConcertCloudFileSharingService.h | ||
| SharedRootPathname | FString | ConcertCloudFileSharingService.h |
Functions
Public
Public Virtual
Overridden from IConcertFileSharingService
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual IConcertFileSharingService * Clone () |
Make a clone of this sharing service to be used. | ConcertCloudFileSharingService.h | |
virtual TSharedPtr< FArchive > CreateReader
(
const FString& InFileId |
Consumes a file corresponding to the unique file ID, if available. | ConcertCloudFileSharingService.h | |
virtual TSharedPtr< FArchive > CreateWriter
(
FString& OutFileId |
Opens a file for writing. The file id is provided as a return argument. | ConcertCloudFileSharingService.h | |
| Delete the given InFileId if it exists. | ConcertCloudFileSharingService.h | ||
virtual FString GetPath() |
Get the assigned sharing path. | ConcertCloudFileSharingService.h | |
virtual bool IsEnabled() |
Is the file sharing service on / off. | ConcertCloudFileSharingService.h | |
| Copies the specified file in the service storage and return a unique ID required to consume it back. | ConcertCloudFileSharingService.h | ||
| Copies the content of the archive in the service storage and return a unique ID required to consume it back. | ConcertCloudFileSharingService.h | ||
virtual void SetEnabled
(
bool bInEnabled |
Turn on/off the file sharing service. | ConcertCloudFileSharingService.h | |
virtual void SetPath
(
const FString& Path |
Sets the desired path to use for the service. | ConcertCloudFileSharingService.h |