Table of Contents

AbandonAuthority

Methods
public bool AbandonAuthority(NetworkEntityState state)

Transfers ownership of the entity to the replication server, making it an orphan.

Parameters
Type Name Description
NetworkEntityState state
Returns
Type Description
bool

true if the authority transfer was successful. false otherwise.

Remarks

The entity must be Persistent, transferable (not NotTransferable), and the client must have state authority over it. The transfer fails if HasStateAuthority is false, lifetimeType is not Persistent or or authorityTransferType is NotTransferable.