Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore > API/Plugins/ConcertSyncCore/Replication > API/Plugins/ConcertSyncCore/Replication/Messages
References
| Module | ConcertSyncCore |
| Header | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/Replication/Messages/ChangeAuthority.h |
| Include | #include "Replication/Messages/ChangeAuthority.h" |
Syntax
USTRUCT ()
struct FConcertReplication_ChangeAuthority_Request
Remarks
Sent by clients to the server to attempt to take or release authority over properties on objects. Clients must have authority over object properties before sending FConcertBatchReplicationEvent, or the server will reject the updates.
Multiple clients can have authority over the same objects as long as the properties do not overlap. The properties are defined implicitly by providing the stream ID that will be writing the properties.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FSoftObjectPath, FConcertStreamArray > | ReleaseAuthority | Objects the client no longer needs authority over. | |
| TMap< FSoftObjectPath, FConcertStreamArray > | TakeAuthority | In the future we can consider adding an option to make this all or nothing (if one object fails, the entire request does) It is supposed to be a convenience and network optimization to send one big request instead of many small ones. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsEmpty () |