Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSharedCloudInterface.h |
| Include | #include "Interfaces/OnlineSharedCloudInterface.h" |
Syntax
class IOnlineSharedCloud
Remarks
Provides the interface for sharing files already on the cloud with other users
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnReadSharedFileComplete | OnReadSharedFileCompleteDelegates | Delegate fired when a shared file read from the network platform's storage is complete | |
| FOnWriteSharedFileComplete | OnWriteSharedFileCompleteDelegates | Delegate fired when a shared file write to the network platform's storage is complete |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | AddOnReadSharedFileCompleteDelegate_Handle
(
const FOnReadSharedFileCompleteDelegate& Delegate |
||
| FDelegateHandle | AddOnWriteSharedFileCompleteDelegate_Handle
(
const FOnWriteSharedFileCompleteDelegate& Delegate |
||
| void | |||
| void | ClearOnReadSharedFileCompleteDelegates
(
void* Object |
||
| void | |||
| void | ClearOnWriteSharedFileCompleteDelegates
(
void* Object |
||
| bool | ClearSharedFile
(
const FSharedContentHandle& SharedHandle |
Empties the cached data for this file if it is not being downloaded currently | |
| bool | Empties the set of all downloaded files if possible (no async tasks outstanding) | ||
| void | GetDummySharedHandlesForTest
(
TArray< TSharedRef< FSharedContentHandle > >& OutHandles |
Interface to get some test content handles | |
| bool | GetSharedFileContents
(
const FSharedContentHandle& SharedHandle, |
Copies the shared data into the specified buffer for the specified file | |
| bool | ReadSharedFile
(
const FSharedContentHandle& SharedHandle |
Starts an asynchronous read of the specified shared file from the network platform's file store | |
| void | TriggerOnReadSharedFileCompleteDelegates
(
bool Param1, |
||
| void | TriggerOnWriteSharedFileCompleteDelegates
(
bool Param1, |
||
| bool | WriteSharedFile
(
const FUniqueNetId& UserId, |
Starts an asynchronous write of the specified shared file to the network platform's file store |