Delegate NetworkObject.OnOwnershipRequestedDelegateHandler
The delegate handler declaration used by OnOwnershipRequested.
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public delegate bool NetworkObject.OnOwnershipRequestedDelegateHandler(ulong clientRequesting)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ulong | clientRequesting | The ClientId of the client requesting ownership  | 
      
Returns
| Type | Description | 
|---|---|
| bool | True to approve the ownership request, false to deny the request and prevent ownership transfer  |