Navigation
API > API/Plugins > API/Plugins/ConcertSyncClient > API/Plugins/ConcertSyncClient/Replication
References
| Module | ConcertSyncClient |
| Header | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncClient/Source/ConcertSyncClient/Public/Replication/IConcertClientReplicationManager.h |
| Include | #include "Replication/IConcertClientReplicationManager.h" |
Syntax
class IConcertClientReplicationManager
Remarks
Handles all communication with the server regarding replication.
Keeps a list of properties to send along with their send rules. Tells the server which properties this client is interested in receiving.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanJoin () |
Whether it is valid to call JoinReplicationSession right now. | |
| TFuture< FConcertReplication_ChangeStream_Response > | Requests to change the client's registered stream. | ||
| EAuthorityEnumerationResult | ForEachClientOwnedObject
(
TFunctionRef< EBreakBehavior(const FSoftObjectPath&Object, TSet< FGuid >&&OwningStreams)> Callback |
Iterates through all objects that this client has authority over. | |
| EStreamEnumerationResult | ForEachRegisteredStream
(
TFunctionRef< EBreakBehavior(const FConcertReplicationStream&Stream)> Callback |
Iterates the streams the client has registered with the server. | |
| TMap< FSoftObjectPath, TSet< FGuid > > | |||
| TSet< FGuid > | GetClientOwnedStreamsForObject
(
const FSoftObjectPath& ObjectPath |
||
| TArray< FConcertReplicationStream > | |||
| bool | |||
| bool | Whether JoinReplicationSession completed successfully and LeaveReplicationSession has not yet been called. | ||
| TFuture< UE::ConcertSyncClient::Replication::FJoinReplicatedSessionResult > | Joins a replication session. | ||
| void | Leaves the current replication session. | ||
| FOnPostAuthorityChanged & | Called right after GetClientOwnedObjects has changed. | ||
| FOnPostStreamsChanged & | Called right after the result of GetRegisteredStreams has changed. | ||
| FOnPreAuthorityChanged & | Called right before GetClientOwnedObjects changes. | ||
| FOnPreStreamsChanged & | Called right before the result of GetRegisteredStreams changes. | ||
| TFuture< FConcertReplication_QueryReplicationInfo_Response > | Requests replication info about other clients, including the streams registered and which objects they have authority over (i.e. are sending). | ||
| TFuture< FConcertReplication_ChangeAuthority_Response > | ReleaseAuthorityOf
(
TArrayView< const FSoftObjectPath > Objects |
Util function that will let go over all authority of the given objects. | |
| TFuture< FConcertReplication_ChangeAuthority_Response > | Requests from the server to change the authority over some objects. | ||
| TFuture< FConcertReplication_ChangeAuthority_Response > | TakeAuthorityOver
(
TArrayView< const FSoftObjectPath > Objects |
Util function that will request authority for all streams for the given objects. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EAuthorityEnumerationResult | |||
| EStreamEnumerationResult |