Class NetworkClient
A NetworkClient
Inherited Members
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
Indicates whether this client is running in Distributed Authority Host mode
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
Defines the network topology type being used for the current network session
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[] |