Table of Contents

RequestAuthority

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

true request succeeds. false otherwise.

Remarks

Even if the request operation succeeds, the authority request can be rejected.

See Also