docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)