TransferAuthority
method in Coherence.Toolkit.CoherenceSync
Methods
public bool TransferAuthority(ClientID clientID, AuthorityType authorityTransferred = AuthorityType.Full)
Requests to give away authority over this entity to another client.
Parameters
| Type | Name | Description |
|---|---|---|
| ClientID | clientID | ClientID of the client that should get authority over this entity. ClientID can be retrieved from the ClientConnections. |
| AuthorityType | authorityTransferred | Type of authority transferred. |
Returns
| Type | Description |
|---|---|
| bool |
Remarks
Can only transfer entities that this client has authority over.
A request being processed doesn't guarantee that the transfer succeeds.
Requires a valid CoherenceBridge instance to process the transfer request.
See Also
RequestAuthority(AuthorityType)