Structure

SynchronizationEvents.OwnershipRequest

The event raised when a network peer wants to gain ownership of an entity.

Declaration

struct SynchronizationEvents.OwnershipRequest

Topics

Getting the Involved Parties

let entity: Entity

The entity over which the network peer would like to gain ownership.

let requester: SynchronizationPeerID

The network peer requesting ownership.

Accepting the Request

let accept: () -> Void

The callback function that the current owner calls to grant ownership to the requesting peer.

Relationships

Conforms To

See Also

Changing Ownership

struct SynchronizationEvents.OwnershipChanged

The event raised when ownership of an entity changes.