RequestAuthority
method in Coherence.Toolkit.AuthorityManager
Methods
public bool RequestAuthority(NetworkEntityState state, AuthorityType authorityType)
Try to get authority over this entity.
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkEntityState | state | State of the entity to request authority on. |
| AuthorityType | authorityType | The kind of authority to request for. |
Returns
| Type | Description |
|---|---|
| bool |
Remarks
Even if the request operation succeeds, the authority request can be rejected.