Table of Contents

TransferAuthority

Methods
public bool TransferAuthority(ClientID clientID, AuthorityType authorityTransferred = AuthorityType.Full)

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

true if calling this method succeeded. The authority request itself can still fail.

Remarks

Requires that this client currently has authority.