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
Remarks
Approved: Granted ownership, and returned after the requesting client has gained ownership on the local instance. Locked: Was locked after request was sent. RequestInProgress: A request started before this request was received. CannotRequest: The RequestRequired status changed while the request was in flight. Denied: General denied message that is only set if OnOwnershipRequested returns false by the authority instance.
Fields
Name | Description |
---|---|
Approved | |
CannotRequest | |
Denied | |
Locked | |
RequestInProgress |