docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkClient

    A NetworkClient

    Inheritance
    object
    NetworkClient
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public class NetworkClient

    Fields

    ClientId

    The ClientId of the NetworkClient

    Declaration
    public ulong ClientId
    Field Value
    Type Description
    ulong

    PlayerObject

    The PlayerObject of the Client

    Declaration
    public NetworkObject PlayerObject
    Field Value
    Type Description
    NetworkObject

    Properties

    DAHost

    Declaration
    public bool DAHost { get; }
    Property Value
    Type Description
    bool

    IsSessionOwner

    Is true when the client has been assigned session ownership in distributed authority mode

    Declaration
    public bool IsSessionOwner { get; }
    Property Value
    Type Description
    bool

    NetworkTopologyType

    Declaration
    public NetworkTopologyTypes NetworkTopologyType { get; }
    Property Value
    Type Description
    NetworkTopologyTypes

    OwnedObjects

    The NetworkObject's owned by this client instance

    Declaration
    public NetworkObject[] OwnedObjects { get; }
    Property Value
    Type Description
    NetworkObject[]
    In This Article
    • Fields
      • ClientId
      • PlayerObject
    • Properties
      • DAHost
      • IsSessionOwner
      • NetworkTopologyType
      • OwnedObjects
    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)