Enum NetworkObject.OwnershipRequestResponseStatus
What is returned via OnOwnershipRequestResponse after an ownership request has been sent via RequestOwnership()
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public enum NetworkObject.OwnershipRequestResponseStatus
Fields
Name | Description |
---|---|
Approved | The ownership request was approved and the requesting client has gained ownership on the local instance |
CannotRequest | The ownership request was denied because the RequestRequired status changed while the request was in flight |
Denied | The ownership request was denied by the authority instance (OnOwnershipRequested returned false) |
Locked | The ownership request was denied because the object became locked after the request was sent |
RequestInProgress | The ownership request was denied because another request was already in progress when this request was received |